diff --git a/x/registry/keeper/keeper.go b/x/registry/keeper/keeper.go index e249c6a9..0a2a3f41 100644 --- a/x/registry/keeper/keeper.go +++ b/x/registry/keeper/keeper.go @@ -356,8 +356,6 @@ func (k Keeper) SetAttributeMapping(ctx sdk.Context, key []byte, recordID string if err != nil { return fmt.Errorf("cannot unmarshal byte array, error, %w", err) } - } else { - recordIds = []string{} } recordIds = append(recordIds, recordID) bz, err := json.Marshal(recordIds)