aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/debugger.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-04 00:18:43 +0800
committerobscuren <geffobscura@gmail.com>2015-01-04 00:18:43 +0800
commitca1b2a1a91401255ab4e26cec7eb575b99ecb8da (patch)
tree87b3c8fed57f688c138288ed5d90a0a3a1e3274b /cmd/mist/debugger.go
parent16f417f5af16de8f1c2c140f8b249bd989200bd3 (diff)
downloadgo-tangerine-ca1b2a1a91401255ab4e26cec7eb575b99ecb8da.tar.gz
go-tangerine-ca1b2a1a91401255ab4e26cec7eb575b99ecb8da.tar.zst
go-tangerine-ca1b2a1a91401255ab4e26cec7eb575b99ecb8da.zip
Changed prev_hash to block_hash, state transition now uses vm env
* PREVHASH => BLOCKHASH( N ) * State transition object uses VMEnv as it's query interface * Updated vm.Enviroment has GetHash( n ) for BLOCKHASH instruction * Added GetHash to xeth, core, utils & test environments
Diffstat (limited to 'cmd/mist/debugger.go')
-rw-r--r--cmd/mist/debugger.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mist/debugger.go b/cmd/mist/debugger.go
index 0e97a6652..618e31f4e 100644
--- a/cmd/mist/debugger.go
+++ b/cmd/mist/debugger.go
@@ -151,7 +151,7 @@ func (self *DebuggerWindow) Debug(valueStr, gasStr, gasPriceStr, scriptStr, data
block := self.lib.eth.ChainManager().CurrentBlock()
- env := utils.NewEnv(statedb, block, account.Address(), value)
+ env := utils.NewEnv(self.lib.eth.ChainManager(), statedb, block, account.Address(), value)
self.Logf("callsize %d", len(script))
go func() {