aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/state.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/ethchain/state.go b/ethchain/state.go
index e28b91909..4c66a973e 100644
--- a/ethchain/state.go
+++ b/ethchain/state.go
@@ -1,6 +1,7 @@
package ethchain
import (
+ "github.com/ethereum/eth-go/ethtrie"
"github.com/ethereum/eth-go/ethutil"
"math/big"
)
@@ -12,7 +13,7 @@ import (
// * Accounts
type State struct {
// The trie for this structure
- trie *ethutil.Trie
+ trie *ethtrie.Trie
stateObjects map[string]*StateObject
@@ -20,7 +21,7 @@ type State struct {
}
// Create a new state from a given trie
-func NewState(trie *ethutil.Trie) *State {
+func NewState(trie *ethtrie.Trie) *State {
return &State{trie: trie, stateObjects: make(map[string]*StateObject), manifest: NewManifest()}
}