Update inflation reward error message

Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
This commit is contained in:
Matt Johnstone 2024-10-07 20:34:49 +02:00 committed by GitHub
parent 325848dabf
commit ab227c7659
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 {