mpt: swap Leaf and Node types
This commit is contained in:
parent
1ba7338b07
commit
7dc9f0bde2
2 changed files with 4 additions and 4 deletions
|
@ -16,8 +16,8 @@ type NodeType byte
|
|||
const (
|
||||
BranchT NodeType = 0x00
|
||||
ExtensionT NodeType = 0x01
|
||||
HashT NodeType = 0x02
|
||||
LeafT NodeType = 0x03
|
||||
LeafT NodeType = 0x02
|
||||
HashT NodeType = 0x03
|
||||
)
|
||||
|
||||
// NodeObject represents Node together with it's type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue