aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm_env.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-17 20:24:12 +0800
committerobscuren <geffobscura@gmail.com>2015-03-17 20:24:25 +0800
commit0fa7859b94ddb0a35a6fbdb2c29139b0baaa2bfa (patch)
tree9d4b05ed91f007c0831033c35f80dff691a4c7e7 /core/vm_env.go
parentff55c6f5badda7ef11c38ef5d94b71420b14817c (diff)
downloadgo-tangerine-0fa7859b94ddb0a35a6fbdb2c29139b0baaa2bfa.tar.gz
go-tangerine-0fa7859b94ddb0a35a6fbdb2c29139b0baaa2bfa.tar.zst
go-tangerine-0fa7859b94ddb0a35a6fbdb2c29139b0baaa2bfa.zip
Fixed VM & Tests w/ conversion
Diffstat (limited to 'core/vm_env.go')
-rw-r--r--core/vm_env.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/vm_env.go b/core/vm_env.go
index 1ddbd5e5e..7845d1cd9 100644
--- a/core/vm_env.go
+++ b/core/vm_env.go
@@ -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, data []byte, gas, price, value *big.Int) ([]byte, error, vm.ContextRef) {
- exe := self.vm(nil, data, gas, price, value)
+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)
return exe.Create(me)
}