diff --git a/core/state/access_list.go b/core/state/access_list.go index 16a1524991..3579bb75f7 100644 --- a/core/state/access_list.go +++ b/core/state/access_list.go @@ -166,7 +166,7 @@ func (al *accessList) Equal(other *accessList) bool { // DeleteAddressCode removes an address code from the access list. func (al *accessList) DeleteAddressCode(address common.Address) { - delete(al.addresses, address) + delete(al.addressCodes, address) } // PrettyPrint prints the contents of the access list in a human-readable form