From ec0d4d73ccd54b1901d91c69c4a40f04523b5629 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Tue, 11 Dec 2018 16:30:22 +0100 Subject: [PATCH] core/vm: two sigs were wrong --- core/vm/ewasm_eei.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/vm/ewasm_eei.go b/core/vm/ewasm_eei.go index 4dd19f3b39..e0bf787d46 100644 --- a/core/vm/ewasm_eei.go +++ b/core/vm/ewasm_eei.go @@ -250,7 +250,7 @@ func eeiFuncs(in *InterpreterEWASM) []wasm.Function { Body: &wasm.FunctionBody{}, }, { - Sig: &eeiTypes.Entries[2], + Sig: &eeiTypes.Entries[1], Host: reflect.ValueOf(func(p *exec.Process, r int32) { getCallValue(p, in, r) }), Body: &wasm.FunctionBody{}, }, @@ -300,7 +300,7 @@ func eeiFuncs(in *InterpreterEWASM) []wasm.Function { Body: &wasm.FunctionBody{}, }, { - Sig: &eeiTypes.Entries[5], + Sig: &eeiTypes.Entries[1], Host: reflect.ValueOf(func(p *exec.Process, v int32) { getTxGasPrice(p, in, v) }), Body: &wasm.FunctionBody{}, },