evm: reset accessList in EndBlock (#709)

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
Pierre
2021-01-19 12:31:41 -03:00
committed by GitHub
co-authored by Federico Kunze
parent cfe629c14f
commit 0fe6353865
+1
View File
@@ -690,6 +690,7 @@ func (csdb *CommitStateDB) Reset(_ ethcmn.Hash) error {
csdb.logSize = 0
csdb.preimages = []preimageEntry{}
csdb.hashToPreimageIndex = make(map[ethcmn.Hash]int)
csdb.accessList = newAccessList()
csdb.clearJournalAndRefund()
return nil