From 54bdfb42bd0cd473a3106e99214feb9b04b10b4a Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Tue, 9 Apr 2024 16:05:37 +0200 Subject: [PATCH] Update core/state/access_witness.go Co-authored-by: Martin HS --- core/state/access_witness.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state/access_witness.go b/core/state/access_witness.go index 10db53992e..7fd836d363 100644 --- a/core/state/access_witness.go +++ b/core/state/access_witness.go @@ -97,7 +97,7 @@ func (aw *AccessWitness) TouchFullAccount(addr []byte, isWrite bool) uint64 { return gas } -func (aw *AccessWitness) TouchAndChargeMessageCall(addr []byte) uint64 { +func (aw *AccessWitness) TouchAndChargeMessageCall(destination []byte) uint64 { var gas uint64 gas += aw.touchAddressAndChargeGas(addr, zeroTreeIndex, utils.VersionLeafKey, false) gas += aw.touchAddressAndChargeGas(addr, zeroTreeIndex, utils.CodeSizeLeafKey, false)