diff options
author | Felix Lange <fjl@twurst.com> | 2014-11-01 01:40:32 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2014-11-01 01:52:58 +0800 |
commit | f3473312ba90b37b9a4100592a8c4d5d5bf245b7 (patch) | |
tree | efc14c86ce3c9b45bcc09c84dc9fbed79c089cb9 /tests/helper/trie.go | |
parent | 5af4ff985dc43b648bdc96394a3bd96d9658ae0a (diff) | |
download | go-tangerine-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.tar go-tangerine-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.tar.gz go-tangerine-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.tar.bz2 go-tangerine-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.tar.lz go-tangerine-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.tar.xz go-tangerine-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.tar.zst go-tangerine-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.zip |
all: fix rename breakage
Diffstat (limited to 'tests/helper/trie.go')
-rw-r--r-- | tests/helper/trie.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/helper/trie.go b/tests/helper/trie.go index 119bac713..32432cc7a 100644 --- a/tests/helper/trie.go +++ b/tests/helper/trie.go @@ -1,6 +1,6 @@ package helper -import "github.com/ethereum/go-ethereum/ethtrie" +import "github.com/ethereum/go-ethereum/trie" type MemDatabase struct { db map[string][]byte @@ -24,8 +24,8 @@ func (db *MemDatabase) Print() {} func (db *MemDatabase) Close() {} func (db *MemDatabase) LastKnownTD() []byte { return nil } -func NewTrie() *ethtrie.Trie { +func NewTrie() *trie.Trie { db, _ := NewMemDatabase() - return ethtrie.New(db, "") + return trie.New(db, "") } |