Commit b8b996be authored by Péter Szilágyi's avatar Péter Szilágyi

core: fix a formatting loop in BadHashError

parent 7977e87c
...@@ -181,7 +181,7 @@ func IsValueTransferErr(e error) bool { ...@@ -181,7 +181,7 @@ func IsValueTransferErr(e error) bool {
type BadHashError common.Hash type BadHashError common.Hash
func (h BadHashError) Error() string { 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 { func IsBadHashError(err error) bool {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment