diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-15 22:19:30 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-15 22:19:30 +0800 |
commit | c2c8757bd1e6c03254ca5888077b25a8902cfa0e (patch) | |
tree | 47bead0dc7a0133eeed9b5a1129539cc7ca2ab3a /ethereal/debugger.go | |
parent | 203c4b99a0c5e3b826f5a131af2d7ec035b73107 (diff) | |
download | dexon-c2c8757bd1e6c03254ca5888077b25a8902cfa0e.tar.gz dexon-c2c8757bd1e6c03254ca5888077b25a8902cfa0e.tar.zst dexon-c2c8757bd1e6c03254ca5888077b25a8902cfa0e.zip |
Added message to closure
Diffstat (limited to 'ethereal/debugger.go')
-rw-r--r-- | ethereal/debugger.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/debugger.go b/ethereal/debugger.go index b7a7c8c02..7bc544377 100644 --- a/ethereal/debugger.go +++ b/ethereal/debugger.go @@ -134,7 +134,7 @@ func (self *DebuggerWindow) Debug(valueStr, gasStr, gasPriceStr, scriptStr, data block := self.lib.eth.BlockChain().CurrentBlock - callerClosure := ethvm.NewClosure(account, contract, script, gas, gasPrice) + callerClosure := ethvm.NewClosure(ðstate.Message{}, account, contract, script, gas, gasPrice) env := utils.NewEnv(state, block, account.Address(), value) vm := ethvm.New(env) vm.Verbose = true |