good morning!!!!

Skip to content
Snippets Groups Projects
Commit b8b996be authored by Péter Szilágyi's avatar Péter Szilágyi
Browse files

core: fix a formatting loop in BadHashError

parent 7977e87c
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment