aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-15 22:19:30 +0800
committerobscuren <geffobscura@gmail.com>2014-08-15 22:19:30 +0800
commitc2c8757bd1e6c03254ca5888077b25a8902cfa0e (patch)
tree47bead0dc7a0133eeed9b5a1129539cc7ca2ab3a /ethereal
parent203c4b99a0c5e3b826f5a131af2d7ec035b73107 (diff)
downloaddexon-c2c8757bd1e6c03254ca5888077b25a8902cfa0e.tar.gz
dexon-c2c8757bd1e6c03254ca5888077b25a8902cfa0e.tar.zst
dexon-c2c8757bd1e6c03254ca5888077b25a8902cfa0e.zip
Added message to closure
Diffstat (limited to 'ethereal')
-rw-r--r--ethereal/debugger.go2
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(&ethstate.Message{}, account, contract, script, gas, gasPrice)
env := utils.NewEnv(state, block, account.Address(), value)
vm := ethvm.New(env)
vm.Verbose = true