From cea0f337afff174c5f080d8389b4ad7c94ab766f Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 21 Sep 2023 20:56:15 +0800 Subject: [PATCH] graphql wip --- x/registry/keeper/keeper.go | 2 -- 1 file changed, 2 deletions(-) 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)