Skip to content

Commit

Permalink
Fix ledgerCurrency id to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
sshmaxime committed Oct 24, 2023
1 parent 11b6faa commit d4c3278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/ledger-live-common/src/deposit/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const groupCurrenciesByProvider = (
}
const assetsByProviderId: Record<string, CurrenciesByProviderId> = {};
for (const ledgerCurrency of currenciesSupported) {
const asset = assetsByLedgerId[ledgerCurrency.id];
const asset = assetsByLedgerId[ledgerCurrency.id.toLowerCase()];
if (asset) {
if (!assetsByProviderId[asset.providerId]) {
assetsByProviderId[asset.providerId] = {
Expand Down

0 comments on commit d4c3278

Please sign in to comment.