aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Wilcke <obscuren@users.noreply.github.com>2014-02-02 19:23:00 +0800
committerJeffrey Wilcke <obscuren@users.noreply.github.com>2014-02-02 19:23:00 +0800
commitbd9af2a7fde1f83c9131d883554c6d9e91e27fa6 (patch)
tree467a48cffa1dfd15002248cf948315b9238e0024
parent8cf2dee4a23712d7234d391cc15a3f2330ea07e3 (diff)
parenta0704364ce7e4e65e805083a54362a53182cec7a (diff)
downloadgo-tangerine-bd9af2a7fde1f83c9131d883554c6d9e91e27fa6.tar
go-tangerine-bd9af2a7fde1f83c9131d883554c6d9e91e27fa6.tar.gz
go-tangerine-bd9af2a7fde1f83c9131d883554c6d9e91e27fa6.tar.bz2
go-tangerine-bd9af2a7fde1f83c9131d883554c6d9e91e27fa6.tar.lz
go-tangerine-bd9af2a7fde1f83c9131d883554c6d9e91e27fa6.tar.xz
go-tangerine-bd9af2a7fde1f83c9131d883554c6d9e91e27fa6.tar.zst
go-tangerine-bd9af2a7fde1f83c9131d883554c6d9e91e27fa6.zip
Merge pull request #10 from josephyzhou/master
fix build failure
-rw-r--r--test_runner_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/test_runner_test.go b/test_runner_test.go
index 0a0b0d69c..5c8461ad8 100644
--- a/test_runner_test.go
+++ b/test_runner_test.go
@@ -27,8 +27,7 @@ func TestTestRunner(t *testing.T) {
for key, value := range source.Inputs {
trie.Update(key, value)
}
-
- if hex.EncodeToString([]byte(trie.Root)) != source.Expectation {
+ if hex.EncodeToString(trie.Root.([]byte)) != source.Expectation {
t.Error("trie root did not match")
}
})