Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit c763849

Browse files
authored
Merge pull request #5996 from blockchain/hotfix/fix-issue-with-cards
fix: fixed confirm order check to return order instead of attribute
2 parents 3083777 + bd79145 commit c763849

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/blockchain-wallet-v4-frontend/src/data/components/buySell

packages/blockchain-wallet-v4-frontend/src/data/components/buySell/sagas.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,8 @@ export default ({ api, coreSagas, networks }: { api: APIType; coreSagas: any; ne
486486
// otherwise the order is probably in PENDING_DEPOSIT and so we should retry the fetch again
487487
const cardAttrs = ['needCvv', 'everypay', 'cardProvider', 'cardCassy']
488488
if (order.attributes) {
489-
const foundOrder = cardAttrs.find((attr) => order.attributes?.[attr])
490-
if (foundOrder) return foundOrder
489+
const foundAttribute = cardAttrs.find((attr) => order.attributes?.[attr])
490+
if (foundAttribute) return order
491491
}
492492
} catch (e) {
493493
if (isNabuError(e)) {

0 commit comments

Comments
 (0)