From aa139845ff8e0a1c28e4b044bd35ba7793ca9f36 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:29:02 +0200 Subject: [PATCH] fix linter --- core/state/access_events.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/state/access_events.go b/core/state/access_events.go index 4076b9e7b5..2b270ccafa 100644 --- a/core/state/access_events.go +++ b/core/state/access_events.go @@ -121,10 +121,10 @@ func (ae *AccessEvents) ValueTransferGas(callerAddr, targetAddr common.Address) // a contract creation is initiated. It is just reads, because the // address collision is done before the transfer, and so no write // are guaranteed to happen at this point. -func (aw *AccessEvents) ContractCreatePreCheckGas(addr common.Address) uint64 { +func (ae *AccessEvents) ContractCreatePreCheckGas(addr common.Address) uint64 { var gas uint64 - gas += aw.touchAddressAndChargeGas(addr, zeroTreeIndex, utils.BasicDataLeafKey, false) - gas += aw.touchAddressAndChargeGas(addr, zeroTreeIndex, utils.CodeHashLeafKey, false) + gas += ae.touchAddressAndChargeGas(addr, zeroTreeIndex, utils.BasicDataLeafKey, false) + gas += ae.touchAddressAndChargeGas(addr, zeroTreeIndex, utils.CodeHashLeafKey, false) return gas }