eth/protocols/snap: use storage batch, not account batch in st task

This commit is contained in:
Péter Szilágyi 2021-04-30 18:24:34 +03:00
parent 8681a2536c
commit 52b5d2d869
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}
}