diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index fc4214e56..b0d7706a3 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -1236,11 +1236,7 @@ async function queryReserve( logger.trace( `got reserve status error, EC=${result.talerErrorResponse.code}`, ); - if ( - resp.status === 404 && - result.talerErrorResponse.code === - TalerErrorCode.EXCHANGE_RESERVES_STATUS_UNKNOWN - ) { + if (resp.status === HttpStatusCode.NotFound) { return { ready: false }; } else { throwUnexpectedRequestError(resp, result.talerErrorResponse); |