diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-15 22:19:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-15 22:19:10 +0800 |
commit | 7d95e8624a3bdca4a68b2a7ff6ed133264088cc1 (patch) | |
tree | 2509b79c2b24015e339132eb80e28773df0b106e /ethpipe/pipe.go | |
parent | 2b9f71c6ca45929ccef844838c633aa0af5802be (diff) | |
download | dexon-7d95e8624a3bdca4a68b2a7ff6ed133264088cc1.tar.gz dexon-7d95e8624a3bdca4a68b2a7ff6ed133264088cc1.tar.zst dexon-7d95e8624a3bdca4a68b2a7ff6ed133264088cc1.zip |
Added message to closure && added change addresses
Diffstat (limited to 'ethpipe/pipe.go')
-rw-r--r-- | ethpipe/pipe.go | 2 |
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(ðstate.Message{}, initiator, stateObject, object.Code, gas.BigInt(), price.BigInt()) ret, _, err := closure.Call(vm, data) return ret, err |