no reason for this to error

This commit is contained in:
Roy Crihfield 2023-09-21 20:22:12 +08:00
parent d9c29cf22e
commit da7300609d

View File

@ -372,7 +372,7 @@ func (k Keeper) GetAttributeMapping(ctx sdk.Context, key []byte) ([]string, erro
store := ctx.KVStore(k.storeKey)
if !store.Has(key) {
return nil, fmt.Errorf("store doesn't have key")
return nil, nil
}
var recordIds []string