We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8e17c8 + 59fd0fd commit 15827e8Copy full SHA for 15827e8
stacks-common/src/types/chainstate.rs
@@ -30,11 +30,11 @@ impl_byte_array_serde!(TrieHash);
30
31
pub const TRIEHASH_ENCODED_SIZE: usize = 32;
32
33
+#[derive(Serialize, Deserialize)]
34
pub struct BurnchainHeaderHash(pub [u8; 32]);
35
impl_array_newtype!(BurnchainHeaderHash, u8, 32);
36
impl_array_hexstring_fmt!(BurnchainHeaderHash);
37
impl_byte_array_newtype!(BurnchainHeaderHash, u8, 32);
-impl_byte_array_serde!(BurnchainHeaderHash);
38
39
pub struct BlockHeaderHash(pub [u8; 32]);
40
impl_array_newtype!(BlockHeaderHash, u8, 32);
0 commit comments