Update inflation reward error message
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
This commit is contained in:
parent
325848dabf
commit
ab227c7659
|
@ -281,7 +281,7 @@ func (c *SlotWatcher) fetchAndEmitInflationRewards(ctx context.Context, epoch in
|
||||||
ctx, c.inflationRewardAddresses, rpc.CommitmentFinalized, &epoch, nil,
|
ctx, c.inflationRewardAddresses, rpc.CommitmentFinalized, &epoch, nil,
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return fmt.Errorf("error fetching inflation rewards: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
for i, rewardInfo := range rewardInfos {
|
for i, rewardInfo := range rewardInfos {
|
||||||
|
|
Loading…
Reference in New Issue