From c2c8757bd1e6c03254ca5888077b25a8902cfa0e Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 15 Aug 2014 16:19:30 +0200 Subject: [PATCH] Added message to closure --- ethereal/debugger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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