From 516ec28544e0f9c76e18d82742d3ae58cfb59cc1 Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 1 Apr 2015 17:51:22 +0200 Subject: [PATCH] sha3 stack check --- core/vm/gas.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vm/gas.go b/core/vm/gas.go index bfcf75149..976333a78 100644 --- a/core/vm/gas.go +++ b/core/vm/gas.go @@ -147,7 +147,7 @@ var _baseCheck = map[OpCode]req{ EXTCODECOPY: {4, GasExtStep, false}, SLOAD: {1, GasStorageGet, true}, SSTORE: {2, Zero, false}, - SHA3: {1, GasSha3Base, true}, + SHA3: {2, GasSha3Base, true}, CREATE: {3, GasCreate, true}, CALL: {7, GasCall, true}, CALLCODE: {7, GasCall, true},