Skip to content

Commit

Permalink
Fix serialized_len in Node (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
xinifinity authored Jan 9, 2024
1 parent 09fbaad commit c7a092a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion firewood/src/merkle/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@ impl Storable for Node {

fn serialized_len(&self) -> u64 {
Meta::SIZE as u64
+ 1
+ match &self.inner {
NodeType::Branch(n) => {
// TODO: add path
Expand Down

0 comments on commit c7a092a

Please sign in to comment.