Skip to content

Commit

Permalink
Unwrapping error method call.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Chatham committed Oct 11, 2024
1 parent 1594d0e commit ab28791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rewards/claim.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func Claim(cCtx *cli.Context, p utils.Prompter) error {

claimableTokens, present := proofData.Distribution.GetTokensForEarner(config.EarnerAddress)
if !present {
return eigenSdkUtils.WrapError("no tokens claimable by earner", nil)
return errors.New("no tokens claimable by earner")
}

cg := claimgen.NewClaimgen(proofData.Distribution)
Expand Down

0 comments on commit ab28791

Please sign in to comment.