Commit c7afb5fb authored by obscuren's avatar obscuren

output dump string, not undefined

parent 852d1ee3
......@@ -181,9 +181,9 @@ func (self *JSRE) dump(call otto.FunctionCall) otto.Value {
state = self.ethereum.StateManager().CurrentState()
}
fmt.Println(state.Dump())
v, _ := self.vm.ToValue(state.Dump())
return otto.UndefinedValue()
return v
}
func (self *JSRE) stopMining(call otto.FunctionCall) otto.Value {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment