From 4e0fea4d30e922c1cc0e8e2f33e5ad8ae55053d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Wed, 16 Aug 2017 13:36:48 +0300 Subject: core/vm: polish RETURNDATA, add missing returns to CALL* --- core/vm/gas_table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/vm/gas_table.go') diff --git a/core/vm/gas_table.go b/core/vm/gas_table.go index 6cdbc5c39..a6346bd80 100644 --- a/core/vm/gas_table.go +++ b/core/vm/gas_table.go @@ -65,7 +65,7 @@ func constGasFunc(gas uint64) gasFunc { } } -func gasCalldataCopy(gt params.GasTable, evm *EVM, contract *Contract, stack *Stack, mem *Memory, memorySize uint64) (uint64, error) { +func gasCallDataCopy(gt params.GasTable, evm *EVM, contract *Contract, stack *Stack, mem *Memory, memorySize uint64) (uint64, error) { gas, err := memoryGasCost(mem, memorySize) if err != nil { return 0, err -- cgit v1.2.3