aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/vm_env.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-04 17:28:02 +0800
committerobscuren <geffobscura@gmail.com>2014-12-04 17:28:02 +0800
commit9008b155d3c8d2a32c4c8945f1174243d48d4e90 (patch)
treea55140b7d4802a0db14cbc265b8ca21d44d6f10a /xeth/vm_env.go
parentb6cb5272de96185b424d5c6c4a817d99f536d29b (diff)
downloaddexon-9008b155d3c8d2a32c4c8945f1174243d48d4e90.tar.gz
dexon-9008b155d3c8d2a32c4c8945f1174243d48d4e90.tar.zst
dexon-9008b155d3c8d2a32c4c8945f1174243d48d4e90.zip
Renamed `chain` => `core`
Diffstat (limited to 'xeth/vm_env.go')
-rw-r--r--xeth/vm_env.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/xeth/vm_env.go b/xeth/vm_env.go
index d11459626..831a310cc 100644
--- a/xeth/vm_env.go
+++ b/xeth/vm_env.go
@@ -3,8 +3,8 @@ package xeth
import (
"math/big"
- "github.com/ethereum/go-ethereum/chain"
- "github.com/ethereum/go-ethereum/chain/types"
+ "github.com/ethereum/go-ethereum/core"
+ "github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/state"
"github.com/ethereum/go-ethereum/vm"
)
@@ -46,10 +46,10 @@ func (self *VMEnv) Transfer(from, to vm.Account, amount *big.Int) error {
return vm.Transfer(from, to, amount)
}
-func (self *VMEnv) vm(addr, data []byte, gas, price, value *big.Int) *chain.Execution {
+func (self *VMEnv) vm(addr, data []byte, gas, price, value *big.Int) *core.Execution {
evm := vm.New(self, vm.DebugVmTy)
- return chain.NewExecution(evm, addr, data, gas, price, value)
+ return core.NewExecution(evm, addr, data, gas, price, value)
}
func (self *VMEnv) Call(me vm.ClosureRef, addr, data []byte, gas, price, value *big.Int) ([]byte, error) {