Skip to content

Commit

Permalink
eth: formatted error nit (ethereum#25499)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbuchwald authored and blakehhuynh committed Oct 3, 2022
1 parent 0c4f7c3 commit 0da1cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,5 +586,5 @@ func (api *DebugAPI) GetAccessibleState(from, to rpc.BlockNumber) (uint64, error
return uint64(i), nil
}
}
return 0, fmt.Errorf("no state found")
return 0, errors.New("no state found")
}

0 comments on commit 0da1cc5

Please sign in to comment.