mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-10 13:19:04 +00:00
Merge pull request #22789 from karalabe/snap-fix-batch
eth/protocols/snap: use storage batch, not account batch in st task
This commit is contained in:
commit
afc1abd878
1 changed files with 1 additions and 1 deletions
|
|
@ -690,7 +690,7 @@ func (s *Syncer) loadSyncStatus() {
|
|||
s.storageBytes += common.StorageSize(len(key) + len(value))
|
||||
},
|
||||
}
|
||||
subtask.genTrie = trie.NewStackTrie(task.genBatch)
|
||||
subtask.genTrie = trie.NewStackTrie(subtask.genBatch)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue