diff options
Diffstat (limited to 'ethereal/ui/debugger.go')
-rw-r--r-- | ethereal/ui/debugger.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ethereal/ui/debugger.go b/ethereal/ui/debugger.go index 9ebfc5fe7..9d60c7587 100644 --- a/ethereal/ui/debugger.go +++ b/ethereal/ui/debugger.go @@ -109,8 +109,9 @@ func (self *DebuggerWindow) Debug(valueStr, gasStr, gasPriceStr, scriptStr, data block := self.lib.eth.BlockChain().CurrentBlock vm := ethchain.NewVm(state, self.lib.eth.StateManager(), ethchain.RuntimeVars{ + Block: block, Origin: account.Address(), - BlockNumber: block.BlockInfo().Number, + BlockNumber: block.Number, PrevHash: block.PrevHash, Coinbase: block.Coinbase, Time: block.Time, |