Skip to content

Commit 2c23f96

Browse files
fix: do not fail if no signer is provided when there's no broadcast flag (#165)
* fix claim
1 parent a942e4b commit 2c23f96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/rewards/claim.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,9 @@ func readAndValidateClaimConfig(cCtx *cli.Context, logger logging.Logger) (*Clai
289289
// Get SignerConfig
290290
signerConfig, err := common.GetSignerConfig(cCtx, logger)
291291
if err != nil {
292-
return nil, err
292+
// We don't want to throw error since people can still use it to generate the claim
293+
// without broadcasting it
294+
logger.Debugf("Failed to get signer config: %s", err)
293295
}
294296

295297
return &ClaimConfig{

0 commit comments

Comments
 (0)