aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-04-11 03:30:14 +0800
committerobscuren <geffobscura@gmail.com>2014-04-11 03:30:14 +0800
commit969e748dce5562fc543990b6911d53ab699e393e (patch)
tree2deb205ac38d2938ad01fceb798072dd71a37eaf
parent6a530ea3717e592407737c6cd2ebeba0200c9cd8 (diff)
downloaddexon-969e748dce5562fc543990b6911d53ab699e393e.tar
dexon-969e748dce5562fc543990b6911d53ab699e393e.tar.gz
dexon-969e748dce5562fc543990b6911d53ab699e393e.tar.bz2
dexon-969e748dce5562fc543990b6911d53ab699e393e.tar.lz
dexon-969e748dce5562fc543990b6911d53ab699e393e.tar.xz
dexon-969e748dce5562fc543990b6911d53ab699e393e.tar.zst
dexon-969e748dce5562fc543990b6911d53ab699e393e.zip
Call fixed
-rw-r--r--ethchain/vm_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/ethchain/vm_test.go b/ethchain/vm_test.go
index 65113ff57..dc74422cc 100644
--- a/ethchain/vm_test.go
+++ b/ethchain/vm_test.go
@@ -119,7 +119,7 @@ func TestRun4(t *testing.T) {
if err != nil {
fmt.Println(err)
}
- //asm = append(asm, "LOG")
+ asm = append(asm, "LOG")
fmt.Println(asm)
callerScript := ethutil.Assemble(asm...)
@@ -128,8 +128,6 @@ func TestRun4(t *testing.T) {
// Contract addr as test address
account := NewAccount(ContractAddr, big.NewInt(10000000))
c := MakeContract(callerTx, state)
- //fmt.Println(c.script[230:240])
- //fmt.Println(c.script)
callerClosure := NewClosure(account, c, c.script, state, big.NewInt(1000000000), new(big.Int))
vm := NewVm(state, RuntimeVars{