From 5ef2602ea335911d49ba8b1ace504cb1e14e5bcf Mon Sep 17 00:00:00 2001 From: Ethan Lee <125412902+ethan-tbd@users.noreply.github.com> Date: Fri, 16 Aug 2024 16:44:42 -0700 Subject: [PATCH] fix: undo usdc payout offering filter (#268) --- lib/features/tbdex/tbdex_service.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/features/tbdex/tbdex_service.dart b/lib/features/tbdex/tbdex_service.dart index 1154d3a..80986c2 100644 --- a/lib/features/tbdex/tbdex_service.dart +++ b/lib/features/tbdex/tbdex_service.dart @@ -39,7 +39,7 @@ class TbdexService { ); } - // temporarily filter our stored balance and USDC offerings + // temporarily filter out stored balance payin offerings final filteredOfferingsMap = offeringsMap.map( (key, value) => MapEntry( key, @@ -47,8 +47,7 @@ class TbdexService { .where( (offering) => offering.data.payin.methods.firstOrNull?.kind != - 'STORED_BALANCE' && - offering.data.payout.currencyCode != 'USDC', + 'STORED_BALANCE', ) .toList(), ),