From ff1f6fbac9954306b82d965792abd85b1ca482a1 Mon Sep 17 00:00:00 2001 From: wangjingcun Date: Mon, 21 Oct 2024 15:24:23 +0800 Subject: [PATCH] chore: fix function name in comment --- core/state/access_events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state/access_events.go b/core/state/access_events.go index 7f67df64eb..b745c383b1 100644 --- a/core/state/access_events.go +++ b/core/state/access_events.go @@ -117,7 +117,7 @@ func (ae *AccessEvents) ValueTransferGas(callerAddr, targetAddr common.Address) return gas } -// ContractCreateCPreheck charges access costs before +// ContractCreatePreCheckGas charges access costs before // 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.