Unverified Commit afc1abd8 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub

Merge pull request #22789 from karalabe/snap-fix-batch

eth/protocols/snap: use storage batch, not account batch in st task
parents 8681a253 52b5d2d8
...@@ -690,7 +690,7 @@ func (s *Syncer) loadSyncStatus() { ...@@ -690,7 +690,7 @@ func (s *Syncer) loadSyncStatus() {
s.storageBytes += common.StorageSize(len(key) + len(value)) s.storageBytes += common.StorageSize(len(key) + len(value))
}, },
} }
subtask.genTrie = trie.NewStackTrie(task.genBatch) subtask.genTrie = trie.NewStackTrie(subtask.genBatch)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment