Skip to content

Commit

Permalink
fix: undo usdc payout offering filter (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-tbd authored Aug 16, 2024
1 parent fb2aac3 commit 5ef2602
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/features/tbdex/tbdex_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,15 @@ 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,
value
.where(
(offering) =>
offering.data.payin.methods.firstOrNull?.kind !=
'STORED_BALANCE' &&
offering.data.payout.currencyCode != 'USDC',
'STORED_BALANCE',
)
.toList(),
),
Expand Down

0 comments on commit 5ef2602

Please sign in to comment.