mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
Update core/state/access_witness.go
Co-authored-by: Martin HS <martin@swende.se>
This commit is contained in:
parent
e34ac0ffa8
commit
54bdfb42bd
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ func (aw *AccessWitness) TouchFullAccount(addr []byte, isWrite bool) uint64 {
|
||||||
return gas
|
return gas
|
||||||
}
|
}
|
||||||
|
|
||||||
func (aw *AccessWitness) TouchAndChargeMessageCall(addr []byte) uint64 {
|
func (aw *AccessWitness) TouchAndChargeMessageCall(destination []byte) uint64 {
|
||||||
var gas uint64
|
var gas uint64
|
||||||
gas += aw.touchAddressAndChargeGas(addr, zeroTreeIndex, utils.VersionLeafKey, false)
|
gas += aw.touchAddressAndChargeGas(addr, zeroTreeIndex, utils.VersionLeafKey, false)
|
||||||
gas += aw.touchAddressAndChargeGas(addr, zeroTreeIndex, utils.CodeSizeLeafKey, false)
|
gas += aw.touchAddressAndChargeGas(addr, zeroTreeIndex, utils.CodeSizeLeafKey, false)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue