aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/vm_env.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2014-11-27 20:23:31 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2014-11-27 20:23:31 +0800
commitef7961b7d27be930a4d9dc81527a55497d3dea2e (patch)
tree5746b715b1b66c5767779e2e4ca66be345333e13 /xeth/vm_env.go
parentc17a3cb0ceec44c10bc84d05f0d81f08894c792c (diff)
parent8cf9ed0ea588e97f2baf0f834248727e8fbca18f (diff)
downloadgo-tangerine-ef7961b7d27be930a4d9dc81527a55497d3dea2e.tar.gz
go-tangerine-ef7961b7d27be930a4d9dc81527a55497d3dea2e.tar.zst
go-tangerine-ef7961b7d27be930a4d9dc81527a55497d3dea2e.zip
Merge pull request #194 from ethereum/poc8
Update tests branch to PoC8
Diffstat (limited to 'xeth/vm_env.go')
-rw-r--r--xeth/vm_env.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/xeth/vm_env.go b/xeth/vm_env.go
index 68b13e5a8..10575ad79 100644
--- a/xeth/vm_env.go
+++ b/xeth/vm_env.go
@@ -2,20 +2,19 @@ package xeth
import (
"math/big"
-
- "github.com/ethereum/go-ethereum/chain"
+ "github.com/ethereum/go-ethereum/chain/types"
"github.com/ethereum/go-ethereum/state"
"github.com/ethereum/go-ethereum/vm"
)
type VMEnv struct {
state *state.State
- block *chain.Block
+ block *types.Block
value *big.Int
sender []byte
}
-func NewEnv(state *state.State, block *chain.Block, value *big.Int, sender []byte) *VMEnv {
+func NewEnv(state *state.State, block *types.Block, value *big.Int, sender []byte) *VMEnv {
return &VMEnv{
state: state,
block: block,