diff --git a/CHANGELOG.md b/CHANGELOG.md index ea92de8b43f..80a2cc9487a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Unreleased - changed: Some unecessary `showError` dropdowns demoted to hidden `showDevError` +- fixed: Default swap pair logic from the trade modal was not prioritizing mainnet assets - removed: 'fasterpayments' payment type ## 4.12.0 diff --git a/src/components/themed/TransactionListTop.tsx b/src/components/themed/TransactionListTop.tsx index 48c197c336e..0bd5be469e3 100644 --- a/src/components/themed/TransactionListTop.tsx +++ b/src/components/themed/TransactionListTop.tsx @@ -326,7 +326,7 @@ export class TransactionListTopComponent extends React.PureComponent enabledTokenId === priorityAsset.tokenId) + (priorityAsset.tokenId == null || currencyWallet.enabledTokenIds.some(enabledTokenId => enabledTokenId === priorityAsset.tokenId)) // If the wallet or enabled tokens has a priority swap asset match, // calculate its USD value and add it to the ownedAssets array along