Skip to content

Commit

Permalink
Update inflation reward error message
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
  • Loading branch information
johnstonematt and SEJeff authored Oct 7, 2024
1 parent 325848d commit ab227c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/solana_exporter/slots.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func (c *SlotWatcher) fetchAndEmitInflationRewards(ctx context.Context, epoch in
ctx, c.inflationRewardAddresses, rpc.CommitmentFinalized, &epoch, nil,
)
if err != nil {
return err
return fmt.Errorf("error fetching inflation rewards: %w", err)
}

for i, rewardInfo := range rewardInfos {
Expand Down

0 comments on commit ab227c7

Please sign in to comment.