|
@@ -958,6 +958,7 @@ func (s *StateDB) Finalise(deleteEmptyObjects bool) {
|
|
|
// goes into transaction receipts.
|
|
// goes into transaction receipts.
|
|
|
func (s *StateDB) IntermediateRoot(deleteEmptyObjects bool) common.Hash {
|
|
func (s *StateDB) IntermediateRoot(deleteEmptyObjects bool) common.Hash {
|
|
|
if s.lightProcessed {
|
|
if s.lightProcessed {
|
|
|
|
|
+ s.StopPrefetcher()
|
|
|
return s.trie.Hash()
|
|
return s.trie.Hash()
|
|
|
}
|
|
}
|
|
|
// Finalise all the dirty storage states and write them into the tries
|
|
// Finalise all the dirty storage states and write them into the tries
|