Fix iteration while processing expired authorities queue

This commit is contained in:
Prathamesh Musale 2024-07-20 09:57:01 +05:30
parent 43b675cc0a
commit 46eacc4760

View File

@ -519,7 +519,8 @@ func (k Keeper) ProcessAuthorityExpiryQueue(ctx sdk.Context) error {
k.Logger(ctx).Info(fmt.Sprintf("Marking authority expired as no bond present: %s", name)) k.Logger(ctx).Info(fmt.Sprintf("Marking authority expired as no bond present: %s", name))
return nil // Continue with the loop
continue
} }
// Try to renew the authority by taking rent. // Try to renew the authority by taking rent.