aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/vm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-03-31 07:03:28 +0800
committerobscuren <geffobscura@gmail.com>2014-03-31 07:03:28 +0800
commit7277c420479239fbea78417e42c43ee0162c2728 (patch)
tree71e87eca603437d569b78f9d64be80d537dcc034 /ethchain/vm.go
parent7cc28c8b469ba8df8bad1e3bbbba7fbd99b88535 (diff)
downloaddexon-7277c420479239fbea78417e42c43ee0162c2728.tar
dexon-7277c420479239fbea78417e42c43ee0162c2728.tar.gz
dexon-7277c420479239fbea78417e42c43ee0162c2728.tar.bz2
dexon-7277c420479239fbea78417e42c43ee0162c2728.tar.lz
dexon-7277c420479239fbea78417e42c43ee0162c2728.tar.xz
dexon-7277c420479239fbea78417e42c43ee0162c2728.tar.zst
dexon-7277c420479239fbea78417e42c43ee0162c2728.zip
Fixed some state issues
Diffstat (limited to 'ethchain/vm.go')
-rw-r--r--ethchain/vm.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethchain/vm.go b/ethchain/vm.go
index 18b7fe607..98aaa603a 100644
--- a/ethchain/vm.go
+++ b/ethchain/vm.go
@@ -115,6 +115,8 @@ func (vm *Vm) RunClosure(closure *Closure) []byte {
}
if closure.Gas.Cmp(gas) < 0 {
+ ethutil.Config.Log.Debugln("Insufficient gas", closure.Gas, gas)
+
return closure.Return(nil)
}