From b8b996be74bf0b180475a670b57604cb33f6819f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Tue, 29 Sep 2015 09:11:38 +0300 Subject: [PATCH] core: fix a formatting loop in BadHashError --- core/error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/error.go b/core/error.go index ff58d69d6..5e32124a7 100644 --- a/core/error.go +++ b/core/error.go @@ -181,7 +181,7 @@ func IsValueTransferErr(e error) bool { type BadHashError common.Hash func (h BadHashError) Error() string { - return fmt.Sprintf("Found known bad hash in chain %x", h) + return fmt.Sprintf("Found known bad hash in chain %x", h[:]) } func IsBadHashError(err error) bool {