aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-11 03:54:36 +0800
committerobscuren <geffobscura@gmail.com>2014-07-11 03:54:36 +0800
commitff151f9fbcfea2d21139ec778fc7c1ac32282d71 (patch)
tree8efce80abe7e069cbe904a2a33c8fffd2b655db2
parent5c7e96d895f18e774c89b26cd99d998d4d08e1f8 (diff)
downloaddexon-ff151f9fbcfea2d21139ec778fc7c1ac32282d71.tar.gz
dexon-ff151f9fbcfea2d21139ec778fc7c1ac32282d71.tar.zst
dexon-ff151f9fbcfea2d21139ec778fc7c1ac32282d71.zip
vm output
-rw-r--r--ethchain/vm.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethchain/vm.go b/ethchain/vm.go
index f57d6a751..6a64d3ff3 100644
--- a/ethchain/vm.go
+++ b/ethchain/vm.go
@@ -479,6 +479,8 @@ func (vm *Vm) RunClosure(closure *Closure) (ret []byte, err error) {
vm.Printf(" => %x", caller)
case CALLVALUE:
stack.Push(vm.vars.Value)
+
+ vm.Printf(" => %v", vm.vars.Value)
case CALLDATALOAD:
require(1)
offset := stack.Pop().Int64()