aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-01 23:45:38 +0800
committerobscuren <geffobscura@gmail.com>2015-04-01 23:45:38 +0800
commit96cf776f8171c6d3aa4749a831ee73c3548545f1 (patch)
treef89091706f4c4a0944132ffdaa174522c2a3d530
parent516423cdac8782ba587a6b2908bb7ae9df741801 (diff)
downloaddexon-96cf776f8171c6d3aa4749a831ee73c3548545f1.tar
dexon-96cf776f8171c6d3aa4749a831ee73c3548545f1.tar.gz
dexon-96cf776f8171c6d3aa4749a831ee73c3548545f1.tar.bz2
dexon-96cf776f8171c6d3aa4749a831ee73c3548545f1.tar.lz
dexon-96cf776f8171c6d3aa4749a831ee73c3548545f1.tar.xz
dexon-96cf776f8171c6d3aa4749a831ee73c3548545f1.tar.zst
dexon-96cf776f8171c6d3aa4749a831ee73c3548545f1.zip
Check stack for BALANCE. Closes #622
-rw-r--r--core/vm/gas.go2
1 files changed, 1 insertions, 1 deletions
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},