diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-08 18:47:04 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-08 18:47:04 +0800 |
commit | db4aaedcbdb409e17ea3de161e7b24a80ba0a58c (patch) | |
tree | 98a86ccc265ef05913b8e65a1ce2cae9c13ea788 /state/state_object.go | |
parent | 982c812e81304cad835796d4fa3d67c8f08141b6 (diff) | |
download | go-tangerine-db4aaedcbdb409e17ea3de161e7b24a80ba0a58c.tar go-tangerine-db4aaedcbdb409e17ea3de161e7b24a80ba0a58c.tar.gz go-tangerine-db4aaedcbdb409e17ea3de161e7b24a80ba0a58c.tar.bz2 go-tangerine-db4aaedcbdb409e17ea3de161e7b24a80ba0a58c.tar.lz go-tangerine-db4aaedcbdb409e17ea3de161e7b24a80ba0a58c.tar.xz go-tangerine-db4aaedcbdb409e17ea3de161e7b24a80ba0a58c.tar.zst go-tangerine-db4aaedcbdb409e17ea3de161e7b24a80ba0a58c.zip |
Moved ptrie => trie. Removed old trie
Diffstat (limited to 'state/state_object.go')
-rw-r--r-- | state/state_object.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/state/state_object.go b/state/state_object.go index c1c78bee0..913c57a31 100644 --- a/state/state_object.go +++ b/state/state_object.go @@ -6,7 +6,7 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethutil" - "github.com/ethereum/go-ethereum/ptrie" + "github.com/ethereum/go-ethereum/trie" ) type Code []byte @@ -152,7 +152,7 @@ func (self *StateObject) Sync() { } /* - valid, t2 := ptrie.ParanoiaCheck(self.State.trie, ethutil.Config.Db) + valid, t2 := trie.ParanoiaCheck(self.State.trie, ethutil.Config.Db) if !valid { statelogger.Infof("Warn: PARANOIA: Different state storage root during copy %x vs %x\n", self.State.Root(), t2.Root()) @@ -273,7 +273,7 @@ func (c *StateObject) Init() Code { return c.InitCode } -func (self *StateObject) Trie() *ptrie.Trie { +func (self *StateObject) Trie() *trie.Trie { return self.State.trie } |