aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-24 22:27:05 +0800
committerobscuren <geffobscura@gmail.com>2015-03-24 22:27:05 +0800
commit9de1ad65460898ab79c02ce076f1a2b0a7144656 (patch)
tree60cfbd81d5974fbab2f905749db70ddde4034ea3 /cmd
parentff9d66e096e853883c269b41cc94b17d4bc95261 (diff)
downloaddexon-9de1ad65460898ab79c02ce076f1a2b0a7144656.tar
dexon-9de1ad65460898ab79c02ce076f1a2b0a7144656.tar.gz
dexon-9de1ad65460898ab79c02ce076f1a2b0a7144656.tar.bz2
dexon-9de1ad65460898ab79c02ce076f1a2b0a7144656.tar.lz
dexon-9de1ad65460898ab79c02ce076f1a2b0a7144656.tar.xz
dexon-9de1ad65460898ab79c02ce076f1a2b0a7144656.tar.zst
dexon-9de1ad65460898ab79c02ce076f1a2b0a7144656.zip
fixed tests
Diffstat (limited to 'cmd')
-rw-r--r--cmd/evm/main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/evm/main.go b/cmd/evm/main.go
index 76e34e21d..4c6059794 100644
--- a/cmd/evm/main.go
+++ b/cmd/evm/main.go
@@ -32,11 +32,11 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
+ "github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/core/types"
+ "github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/logger"
- "github.com/ethereum/go-ethereum/core/state"
- "github.com/ethereum/go-ethereum/core/vm"
)
var (
@@ -157,7 +157,7 @@ func (self *VMEnv) CallCode(caller vm.ContextRef, addr common.Address, data []by
return exe.Call(addr, caller)
}
-func (self *VMEnv) 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 *VMEnv) Create(caller vm.ContextRef, data []byte, gas, price, value *big.Int) ([]byte, error, vm.ContextRef) {
+ exe := self.vm(nil, data, gas, price, value)
return exe.Create(caller)
}