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 /core/vm_env.go | |
parent | 23bccbbc587aa22057eb7ae29c5b87d44b7cac7d (diff) | |
download | go-tangerine-ff9d66e096e853883c269b41cc94b17d4bc95261.tar.gz go-tangerine-ff9d66e096e853883c269b41cc94b17d4bc95261.tar.zst go-tangerine-ff9d66e096e853883c269b41cc94b17d4bc95261.zip |
Cleaned up changes
Diffstat (limited to 'core/vm_env.go')
-rw-r--r-- | core/vm_env.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/vm_env.go b/core/vm_env.go index d786844dc..52e8b20a9 100644 --- a/core/vm_env.go +++ b/core/vm_env.go @@ -4,8 +4,8 @@ import ( "math/big" "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/state" + "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/vm" ) @@ -68,7 +68,7 @@ func (self *VMEnv) CallCode(me vm.ContextRef, addr common.Address, data []byte, return exe.Call(addr, me) } -func (self *VMEnv) Create(me 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 *VMEnv) Create(me vm.ContextRef, data []byte, gas, price, value *big.Int) ([]byte, error, vm.ContextRef) { + exe := self.vm(nil, data, gas, price, value) return exe.Create(me) } |