diff --git a/trie/encoding.go b/trie/encoding.go index 94ea184c9a..5c42c556fa 100644 --- a/trie/encoding.go +++ b/trie/encoding.go @@ -70,7 +70,7 @@ func DecodeCompact(key []byte) string { } } - res, err := hex.DecodeString(str) + res, _ := hex.DecodeString(str) return string(res) }