aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-09-29 14:11:38 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-09-29 14:11:38 +0800
commitb8b996be74bf0b180475a670b57604cb33f6819f (patch)
treec944dcac2670252495bf95169ab2740d47cd36c7 /core
parent7977e87ce1e9ec46a8e8275f4cf53b6281c412c7 (diff)
downloadgo-tangerine-b8b996be74bf0b180475a670b57604cb33f6819f.tar
go-tangerine-b8b996be74bf0b180475a670b57604cb33f6819f.tar.gz
go-tangerine-b8b996be74bf0b180475a670b57604cb33f6819f.tar.bz2
go-tangerine-b8b996be74bf0b180475a670b57604cb33f6819f.tar.lz
go-tangerine-b8b996be74bf0b180475a670b57604cb33f6819f.tar.xz
go-tangerine-b8b996be74bf0b180475a670b57604cb33f6819f.tar.zst
go-tangerine-b8b996be74bf0b180475a670b57604cb33f6819f.zip
core: fix a formatting loop in BadHashError
Diffstat (limited to 'core')
-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 {