mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
snap: fix typo
This commit is contained in:
parent
a0e4790ca5
commit
b92dede7cc
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ func (t *pathTrie) onTrieNode(path []byte, hash common.Hash, blob []byte) {
|
|||
//
|
||||
// The extension node is detected if its path is the prefix of last committed
|
||||
// one and path gap is larger than one. If the path gap is only one byte,
|
||||
// the current node could either be a full node, or a extension with single
|
||||
// the current node could either be a full node, or an extension with single
|
||||
// byte key. In either case, no gaps will be left in the path.
|
||||
if t.last != nil && bytes.HasPrefix(t.last, path) && len(t.last)-len(path) > 1 {
|
||||
for i := len(path) + 1; i < len(t.last); i++ {
|
||||
|
|
|
|||
Loading…
Reference in a new issue