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.
1 parent 9413399 commit eac9d05Copy full SHA for eac9d05
triedb/pathdb/nodes.go
@@ -651,7 +651,8 @@ func (s *nodeSetWithOrigin) encodeNodeHistory(root common.Hash) (map[common.Hash
651
encodeFull = true // fallback to the full node encoding
652
} else {
653
// Encode the node difference as the history element
654
- blob := encodeNodeCompressed(nElem == 2, diffs, indices)
+ addExt := nElem != 2 // fullNode
655
+ blob := encodeNodeCompressed(addExt, diffs, indices)
656
nodes[owner][path] = blob
657
}
658
0 commit comments