Skip to content

Commit

Permalink
chore: update PfisService and TbdexService (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-tbd authored Oct 31, 2024
1 parent 78d87e6 commit 12ab233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion lib/features/pfis/pfis_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class PfisService {
}

getServiceEndpoint(res.didDocument!, 'PFI');
getServiceEndpoint(res.didDocument!, 'IDV');
// getServiceEndpoint(res.didDocument!, 'IDV');

return Pfi(did: did.uri);
}
Expand Down
16 changes: 1 addition & 15 deletions lib/features/tbdex/tbdex_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,7 @@ class TbdexService {
);
}

// TODO(ethan-tbd): remove later, temporarily filter out stored balance payin offerings
final filteredOfferingsMap = offeringsMap.map(
(key, value) => MapEntry(
key,
value
.where(
(offering) =>
offering.data.payin.methods.firstOrNull?.kind !=
'USD_STOREDBAL_PAYIN',
)
.toList(),
),
);

return filteredOfferingsMap;
return offeringsMap;
}

Future<AccountBalance> getAccountBalance(
Expand Down

0 comments on commit 12ab233

Please sign in to comment.