diff --git a/triedb/pathdb/nodes.go b/triedb/pathdb/nodes.go index eeeee07fb3..c09c73e8ef 100644 --- a/triedb/pathdb/nodes.go +++ b/triedb/pathdb/nodes.go @@ -651,7 +651,8 @@ func (s *nodeSetWithOrigin) encodeNodeHistory(root common.Hash) (map[common.Hash encodeFull = true // fallback to the full node encoding } else { // Encode the node difference as the history element - blob := encodeNodeCompressed(nElem == 2, diffs, indices) + addExt := nElem != 2 // fullNode + blob := encodeNodeCompressed(addExt, diffs, indices) nodes[owner][path] = blob } }