From 46eacc476048cd49252f4d8367c0f7f91ff7d6c1 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Sat, 20 Jul 2024 09:57:01 +0530 Subject: [PATCH] Fix iteration while processing expired authorities queue --- x/registry/keeper/naming_keeper.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x/registry/keeper/naming_keeper.go b/x/registry/keeper/naming_keeper.go index 38f5844e..f4c4f5f3 100644 --- a/x/registry/keeper/naming_keeper.go +++ b/x/registry/keeper/naming_keeper.go @@ -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)) - return nil + // Continue with the loop + continue } // Try to renew the authority by taking rent.