Unverified Commit 0b409774 authored by Guillaume Ballet's avatar Guillaume Ballet Committed by GitHub

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

parent 5c66bab3
...@@ -60,7 +60,7 @@ func memoryGasCost(mem *Memory, newMemSize uint64) (uint64, error) { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment