Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/partners/changenow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,12 @@ async function loadCurrencyCache(
}

try {
// The exchange/currencies endpoint doesn't require authentication
const url = 'https://api.changenow.io/v2/exchange/currencies?active=true'
// The exchange/currencies endpoint doesn't require authentication.
// Fetch the full list (omit `active=true`): historical transactions can
// reference currencies that ChangeNow has since deactivated/delisted (e.g.
// DASH). Filtering to active-only drops those entries, causing a cache miss
// and a fail-closed halt on otherwise-valid historical transactions.
const url = 'https://api.changenow.io/v2/exchange/currencies'
const response = await retryFetch(url, {
method: 'GET'
})
Expand Down
Loading