mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
Merge d9c9f35f2e into 881bdc289f
This commit is contained in:
commit
120ce8a5f3
1 changed files with 3 additions and 0 deletions
|
|
@ -406,6 +406,9 @@ func (t *Trie) delete(n node, prefix, key []byte) (bool, node, error) {
|
||||||
case nil:
|
case nil:
|
||||||
return false, nil, nil
|
return false, nil, nil
|
||||||
|
|
||||||
|
case valueNode:
|
||||||
|
return true, nil, nil
|
||||||
|
|
||||||
case hashNode:
|
case hashNode:
|
||||||
// We've hit a part of the trie that isn't loaded yet. Load
|
// We've hit a part of the trie that isn't loaded yet. Load
|
||||||
// the node and delete from it. This leaves all child nodes on
|
// the node and delete from it. This leaves all child nodes on
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue