Skip to content

Commit

Permalink
Update plugin/evm/atomic_syncer.go
Browse files Browse the repository at this point in the history
Co-authored-by: aaronbuchwald <aaron.buchwald56@gmail.com>
Signed-off-by: Darioush Jalali <darioush.jalali@avalabs.org>
  • Loading branch information
darioush and aaronbuchwald authored Dec 1, 2023
1 parent f704f1f commit b9b25ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/evm/atomic_syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (s *atomicSyncer) onLeafs(keys [][]byte, values [][]byte) error {
return err
}
}
// Trie should be re-opened after committing.
// Trie must be re-opened after committing (not safe for re-use after commit)
trie, err := s.atomicTrie.OpenTrie(root)
if err != nil {
return err
Expand Down

0 comments on commit b9b25ea

Please sign in to comment.