Skip to content

Commit

Permalink
eth/protocols/snap: use storage batch, not account batch in st task
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe committed Apr 30, 2021
1 parent 8681a25 commit 52b5d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/protocols/snap/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit 52b5d2d

Please sign in to comment.