eth/protocols/snap, eth/downloader: don't use bloom filter in snap sync

This commit is contained in:
Martin Holst Swende
2021-03-17 09:36:34 +01:00
parent 91726e8aad
commit 410089afea
4 changed files with 11 additions and 12 deletions

View File

@ -240,7 +240,7 @@ func New(checkpoint uint64, stateDb ethdb.Database, stateBloom *trie.SyncBloom,
headerProcCh: make(chan []*types.Header, 1),
quitCh: make(chan struct{}),
stateCh: make(chan dataPack),
SnapSyncer: snap.NewSyncer(stateDb, stateBloom),
SnapSyncer: snap.NewSyncer(stateDb),
stateSyncStart: make(chan *stateSync),
syncStatsState: stateSyncStats{
processed: rawdb.ReadFastTrieProgress(stateDb),