aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/pipe.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 /xeth/pipe.go
parent16f417f5af16de8f1c2c140f8b249bd989200bd3 (diff)
downloadgo-tangerine-ca1b2a1a91401255ab4e26cec7eb575b99ecb8da.tar
go-tangerine-ca1b2a1a91401255ab4e26cec7eb575b99ecb8da.tar.gz
go-tangerine-ca1b2a1a91401255ab4e26cec7eb575b99ecb8da.tar.bz2
go-tangerine-ca1b2a1a91401255ab4e26cec7eb575b99ecb8da.tar.lz
go-tangerine-ca1b2a1a91401255ab4e26cec7eb575b99ecb8da.tar.xz
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 'xeth/pipe.go')
-rw-r--r--xeth/pipe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/pipe.go b/xeth/pipe.go
index cae6ee1de..05cefd8ad 100644
--- a/xeth/pipe.go
+++ b/xeth/pipe.go
@@ -87,7 +87,7 @@ func (self *XEth) ExecuteObject(object *Object, data []byte, value, gas, price *
self.Vm.State = self.World().State().Copy()
- vmenv := NewEnv(self.Vm.State, block, value.BigInt(), initiator.Address())
+ vmenv := NewEnv(self.chainManager, self.Vm.State, block, value.BigInt(), initiator.Address())
return vmenv.Call(initiator, object.Address(), data, gas.BigInt(), price.BigInt(), value.BigInt())
}