diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-09-29 14:11:38 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-09-29 14:11:38 +0800 |
commit | b8b996be74bf0b180475a670b57604cb33f6819f (patch) | |
tree | c944dcac2670252495bf95169ab2740d47cd36c7 | |
parent | 7977e87ce1e9ec46a8e8275f4cf53b6281c412c7 (diff) | |
download | dexon-b8b996be74bf0b180475a670b57604cb33f6819f.tar dexon-b8b996be74bf0b180475a670b57604cb33f6819f.tar.gz dexon-b8b996be74bf0b180475a670b57604cb33f6819f.tar.bz2 dexon-b8b996be74bf0b180475a670b57604cb33f6819f.tar.lz dexon-b8b996be74bf0b180475a670b57604cb33f6819f.tar.xz dexon-b8b996be74bf0b180475a670b57604cb33f6819f.tar.zst dexon-b8b996be74bf0b180475a670b57604cb33f6819f.zip |
core: fix a formatting loop in BadHashError
-rw-r--r-- | core/error.go | 2 |
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 { |