diff options
Diffstat (limited to 'chain/derive_sha.go')
-rw-r--r-- | chain/derive_sha.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chain/derive_sha.go b/chain/derive_sha.go index 92db90d95..4246aeb02 100644 --- a/chain/derive_sha.go +++ b/chain/derive_sha.go @@ -1,8 +1,8 @@ package chain import ( - "github.com/ethereum/go-ethereum/ethtrie" "github.com/ethereum/go-ethereum/ethutil" + "github.com/ethereum/go-ethereum/trie" ) type DerivableList interface { @@ -11,7 +11,7 @@ type DerivableList interface { } func DeriveSha(list DerivableList) []byte { - trie := ethtrie.New(ethutil.Config.Db, "") + trie := trie.New(ethutil.Config.Db, "") for i := 0; i < list.Len(); i++ { trie.Update(string(ethutil.NewValue(i).Encode()), string(list.GetRlp(i))) } |