mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
trie: fix typo
This commit is contained in:
parent
a44aca825c
commit
f82ab4a47b
1 changed files with 1 additions and 1 deletions
|
|
@ -428,7 +428,7 @@ func (s *Sync) Commit(dbw ethdb.Batch) error {
|
||||||
)
|
)
|
||||||
for _, op := range s.membatch.nodes {
|
for _, op := range s.membatch.nodes {
|
||||||
if op.isDelete() {
|
if op.isDelete() {
|
||||||
// node deletion is not supported in path mode.
|
// node deletion is only supported in path mode.
|
||||||
if op.owner == (common.Hash{}) {
|
if op.owner == (common.Hash{}) {
|
||||||
rawdb.DeleteAccountTrieNode(dbw, op.path)
|
rawdb.DeleteAccountTrieNode(dbw, op.path)
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue