Skip to content

Commit

Permalink
Fix panic: runtime error on SetClaimer (Layr-Labs#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
aivarasko authored and Brandon Chatham committed Nov 13, 2024
1 parent c771568 commit 72730db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/rewards/setclaimer.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ func SetClaimer(cCtx *cli.Context, p utils.Prompter) error {

noSendTxOpts := common.GetNoSendTxOpts(config.EarnerAddress)
unsignedTx, err := contractBindings.RewardsCoordinator.SetClaimerFor(noSendTxOpts, config.ClaimerAddress)
if err != nil {
return eigenSdkUtils.WrapError("failed to create unsigned tx", err)
}

if config.OutputType == string(common.OutputType_Calldata) {
if err != nil {
Expand Down

0 comments on commit 72730db

Please sign in to comment.