Fixes for handling authority expiry queue #40
@ -586,7 +586,7 @@ func (k Keeper) deleteAuthorityExpiryQueue(ctx sdk.Context, name string, authori
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(existingNamesList.Value) == 0 {
|
if len(newNamesSlice) == 0 {
|
||||||
return k.AuthorityExpiryQueue.Remove(ctx, expiryTime)
|
return k.AuthorityExpiryQueue.Remove(ctx, expiryTime)
|
||||||
} else {
|
} else {
|
||||||
existingNamesList.Value = newNamesSlice
|
existingNamesList.Value = newNamesSlice
|
||||||
|
Loading…
Reference in New Issue
Block a user