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

eth/protocols/snap: use storage batch, not account batch in st task
pull/22900/head
Péter Szilágyi 4 years ago committed by GitHub
commit afc1abd878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      eth/protocols/snap/sync.go

@ -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…
Cancel
Save