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 cp-wjhan committed Oct 19, 2023
1 parent 2df96d2 commit 3b749d7
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 @@ -653,5 +653,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 3b749d7

Please sign in to comment.