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 jagdeep sidhu committed Aug 9, 2022
1 parent 1e66593 commit c2d44b4
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 c2d44b4

Please sign in to comment.