aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-01 23:51:22 +0800
committerobscuren <geffobscura@gmail.com>2015-04-01 23:51:22 +0800
commit516ec28544e0f9c76e18d82742d3ae58cfb59cc1 (patch)
tree0bd14526b574089b1de0aca41f6a4e47a0d967e4 /core/vm
parent109b27b552a7c1311728e662510aae570adbc37b (diff)
downloadgo-tangerine-516ec28544e0f9c76e18d82742d3ae58cfb59cc1.tar
go-tangerine-516ec28544e0f9c76e18d82742d3ae58cfb59cc1.tar.gz
go-tangerine-516ec28544e0f9c76e18d82742d3ae58cfb59cc1.tar.bz2
go-tangerine-516ec28544e0f9c76e18d82742d3ae58cfb59cc1.tar.lz
go-tangerine-516ec28544e0f9c76e18d82742d3ae58cfb59cc1.tar.xz
go-tangerine-516ec28544e0f9c76e18d82742d3ae58cfb59cc1.tar.zst
go-tangerine-516ec28544e0f9c76e18d82742d3ae58cfb59cc1.zip
sha3 stack check
Diffstat (limited to 'core/vm')
-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 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},