core/vm: fix typo in comment (#23450)

This commit is contained in:
Guillaume Ballet 2021-08-24 13:57:05 +02:00 committed by GitHub
parent 5c66bab3b8
commit 0b40977480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {