aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/error.go2
1 files changed, 1 insertions, 1 deletions
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 {