Verbose logging for VM

This commit is contained in:
obscuren
2014-06-17 18:49:26 +02:00
parent 34c8045d5b
commit ca79360fd7
2 changed files with 41 additions and 5 deletions

View File

@ -236,6 +236,7 @@ func (self *StateTransition) Eval(script []byte, context *StateObject) (ret []by
Diff: block.Difficulty,
Value: tx.Value,
})
vm.Verbose = true
ret, _, err = closure.Call(vm, tx.Data, nil)
return