diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-24 22:23:16 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-24 22:23:16 +0800 |
commit | ff9d66e096e853883c269b41cc94b17d4bc95261 (patch) | |
tree | bb22f066b13880d53b40b87c5695568bc799a4f9 /tests | |
parent | 23bccbbc587aa22057eb7ae29c5b87d44b7cac7d (diff) | |
download | dexon-ff9d66e096e853883c269b41cc94b17d4bc95261.tar.gz dexon-ff9d66e096e853883c269b41cc94b17d4bc95261.tar.zst dexon-ff9d66e096e853883c269b41cc94b17d4bc95261.zip |
Cleaned up changes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/helper/vm.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/helper/vm.go b/tests/helper/vm.go index b4318d161..052ad6a6e 100644 --- a/tests/helper/vm.go +++ b/tests/helper/vm.go @@ -119,8 +119,8 @@ func (self *Env) CallCode(caller vm.ContextRef, addr common.Address, data []byte return exe.Call(addr, caller) } -func (self *Env) Create(caller vm.ContextRef, addr *common.Address, data []byte, gas, price, value *big.Int) ([]byte, error, vm.ContextRef) { - exe := self.vm(addr, data, gas, price, value) +func (self *Env) Create(caller vm.ContextRef, data []byte, gas, price, value *big.Int) ([]byte, error, vm.ContextRef) { + exe := self.vm(nil, data, gas, price, value) if self.vmTest { caller.ReturnGas(gas, price) |