From b8b996be74bf0b180475a670b57604cb33f6819f Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Tue, 29 Sep 2015 09:11:38 +0300 Subject: core: fix a formatting loop in BadHashError --- core/error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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 { -- cgit