Skip to content

Commit 15827e8

Browse files
authored
Merge pull request #5094 from jbencin/fix/burnchain-hash-serialization
Fix: Revert `BurnchainHeaderHash` serialization change
2 parents b8e17c8 + 59fd0fd commit 15827e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stacks-common/src/types/chainstate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ impl_byte_array_serde!(TrieHash);
3030

3131
pub const TRIEHASH_ENCODED_SIZE: usize = 32;
3232

33+
#[derive(Serialize, Deserialize)]
3334
pub struct BurnchainHeaderHash(pub [u8; 32]);
3435
impl_array_newtype!(BurnchainHeaderHash, u8, 32);
3536
impl_array_hexstring_fmt!(BurnchainHeaderHash);
3637
impl_byte_array_newtype!(BurnchainHeaderHash, u8, 32);
37-
impl_byte_array_serde!(BurnchainHeaderHash);
3838

3939
pub struct BlockHeaderHash(pub [u8; 32]);
4040
impl_array_newtype!(BlockHeaderHash, u8, 32);

0 commit comments

Comments
 (0)