mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 13:06:40 +00:00
core/vm: fix typo in comment (#23450)
This commit is contained in:
parent
5c66bab3b8
commit
0b40977480
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ func memoryGasCost(mem *Memory, newMemSize uint64) (uint64, error) {
|
||||||
// as argument:
|
// as argument:
|
||||||
// CALLDATACOPY (stack position 2)
|
// CALLDATACOPY (stack position 2)
|
||||||
// CODECOPY (stack position 2)
|
// CODECOPY (stack position 2)
|
||||||
// EXTCODECOPY (stack poition 3)
|
// EXTCODECOPY (stack position 3)
|
||||||
// RETURNDATACOPY (stack position 2)
|
// RETURNDATACOPY (stack position 2)
|
||||||
func memoryCopierGas(stackpos int) gasFunc {
|
func memoryCopierGas(stackpos int) gasFunc {
|
||||||
return func(evm *EVM, contract *Contract, stack *Stack, mem *Memory, memorySize uint64) (uint64, error) {
|
return func(evm *EVM, contract *Contract, stack *Stack, mem *Memory, memorySize uint64) (uint64, error) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue