aboutsummaryrefslogtreecommitdiffstats
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/environment.go2
-rw-r--r--vm/vm.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/vm/environment.go b/vm/environment.go
index 6976d6749..fdce526ee 100644
--- a/vm/environment.go
+++ b/vm/environment.go
@@ -31,7 +31,7 @@ type Environment interface {
Call(me ContextRef, addr common.Address, data []byte, gas, price, value *big.Int) ([]byte, error)
CallCode(me ContextRef, addr common.Address, data []byte, gas, price, value *big.Int) ([]byte, error)
- Create(me ContextRef, data []byte, gas, price, value *big.Int) ([]byte, error, ContextRef)
+ Create(me ContextRef, addr *common.Address, data []byte, gas, price, value *big.Int) ([]byte, error, ContextRef)
}
type Account interface {
diff --git a/vm/vm.go b/vm/vm.go
index 706a3e108..49e8cca98 100644
--- a/vm/vm.go
+++ b/vm/vm.go
@@ -641,7 +641,7 @@ func (self *Vm) Run(context *Context, callData []byte) (ret []byte, err error) {
self.Endl()
context.UseGas(context.Gas)
- ret, suberr, ref := self.env.Create(context, input, gas, price, value)
+ ret, suberr, ref := self.env.Create(context, nil, input, gas, price, value)
if suberr != nil {
stack.push(common.BigFalse)