Skip to content

Commit

Permalink
fix(pkg/triedb): Encode node headers (#4071)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimartiro committed Jul 5, 2024
1 parent b30458f commit bd1918e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/trie/triedb/codec/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func EncodeHeader(partialKey []byte, kind NodeKind, writer io.Writer) (err error
case LeafWithHashedValue:
nodeVariant = leafWithHashedValueVariant
case BranchWithoutValue:
nodeVariant = branchWithValueVariant
nodeVariant = branchVariant
case BranchWithValue:
nodeVariant = branchWithValueVariant
case BranchWithHashedValue:
Expand Down

0 comments on commit bd1918e

Please sign in to comment.