From 96cf776f8171c6d3aa4749a831ee73c3548545f1 Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 1 Apr 2015 17:45:38 +0200 Subject: [PATCH] Check stack for BALANCE. Closes #622 --- 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 2d5d7ae18..bfcf75149 100644 --- a/core/vm/gas.go +++ b/core/vm/gas.go @@ -142,7 +142,7 @@ var _baseCheck = map[OpCode]req{ MSIZE: {0, GasQuickStep, true}, GAS: {0, GasQuickStep, true}, BLOCKHASH: {1, GasExtStep, true}, - BALANCE: {0, GasExtStep, true}, + BALANCE: {1, GasExtStep, true}, EXTCODESIZE: {1, GasExtStep, true}, EXTCODECOPY: {4, GasExtStep, false}, SLOAD: {1, GasStorageGet, true},