diff --git a/modules/apps/transfer/keeper/relay.go b/modules/apps/transfer/keeper/relay.go index b3bd61c3cad..cb7992c5ae1 100644 --- a/modules/apps/transfer/keeper/relay.go +++ b/modules/apps/transfer/keeper/relay.go @@ -104,7 +104,7 @@ func (k Keeper) sendTransfer( return 0, errorsmod.Wrap(channeltypes.ErrChannelCapabilityNotFound, "module does not own channel capability") } - var tokens []types.Token + tokens := make([]types.Token, 0, len(coins)) for _, coin := range coins { token, err := k.tokenFromCoin(ctx, coin)