Commit a0704364 authored by Joey Zhou's avatar Joey Zhou

fix build failure

parent e28632b9
...@@ -27,8 +27,7 @@ func TestTestRunner(t *testing.T) { ...@@ -27,8 +27,7 @@ func TestTestRunner(t *testing.T) {
for key, value := range source.Inputs { for key, value := range source.Inputs {
trie.Update(key, value) trie.Update(key, value)
} }
if hex.EncodeToString(trie.Root.([]byte)) != source.Expectation {
if hex.EncodeToString([]byte(trie.Root)) != source.Expectation {
t.Error("trie root did not match") t.Error("trie root did not match")
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment