forked from cerc-io/plugeth
Merge pull request #1854 from karalabe/badhasherror-formatting-loop
core: fix a formatting loop in BadHashError
This commit is contained in:
commit
9b94076717
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user