mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
core: fix a formatting loop in BadHashError
This commit is contained in:
parent
7977e87ce1
commit
b8b996be74
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue