Skip to content

Commit

Permalink
fix: do not fail if no signer is provided when there's no broadcast f…
Browse files Browse the repository at this point in the history
…lag (#165)

* fix claim
  • Loading branch information
shrimalmadhur authored Jul 12, 2024
1 parent a942e4b commit 2c23f96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/rewards/claim.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ func readAndValidateClaimConfig(cCtx *cli.Context, logger logging.Logger) (*Clai
// Get SignerConfig
signerConfig, err := common.GetSignerConfig(cCtx, logger)
if err != nil {
return nil, err
// We don't want to throw error since people can still use it to generate the claim
// without broadcasting it
logger.Debugf("Failed to get signer config: %s", err)
}

return &ClaimConfig{
Expand Down

0 comments on commit 2c23f96

Please sign in to comment.