aboutsummaryrefslogtreecommitdiffstats
path: root/ethpipe
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-15 22:19:10 +0800
committerobscuren <geffobscura@gmail.com>2014-08-15 22:19:10 +0800
commit7d95e8624a3bdca4a68b2a7ff6ed133264088cc1 (patch)
tree2509b79c2b24015e339132eb80e28773df0b106e /ethpipe
parent2b9f71c6ca45929ccef844838c633aa0af5802be (diff)
downloaddexon-7d95e8624a3bdca4a68b2a7ff6ed133264088cc1.tar
dexon-7d95e8624a3bdca4a68b2a7ff6ed133264088cc1.tar.gz
dexon-7d95e8624a3bdca4a68b2a7ff6ed133264088cc1.tar.bz2
dexon-7d95e8624a3bdca4a68b2a7ff6ed133264088cc1.tar.lz
dexon-7d95e8624a3bdca4a68b2a7ff6ed133264088cc1.tar.xz
dexon-7d95e8624a3bdca4a68b2a7ff6ed133264088cc1.tar.zst
dexon-7d95e8624a3bdca4a68b2a7ff6ed133264088cc1.zip
Added message to closure && added change addresses
Diffstat (limited to 'ethpipe')
-rw-r--r--ethpipe/pipe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethpipe/pipe.go b/ethpipe/pipe.go
index a9da66ab8..8a81734cd 100644
--- a/ethpipe/pipe.go
+++ b/ethpipe/pipe.go
@@ -61,7 +61,7 @@ func (self *Pipe) ExecuteObject(object *Object, data []byte, value, gas, price *
vm := ethvm.New(NewEnv(self.Vm.State, block, value.BigInt(), initiator.Address()))
- closure := ethvm.NewClosure(initiator, stateObject, object.Code, gas.BigInt(), price.BigInt())
+ closure := ethvm.NewClosure(&ethstate.Message{}, initiator, stateObject, object.Code, gas.BigInt(), price.BigInt())
ret, _, err := closure.Call(vm, data)
return ret, err