diff options
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r-- | packages/taler-wallet-core/src/deposits.ts | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/packages/taler-wallet-core/src/deposits.ts b/packages/taler-wallet-core/src/deposits.ts index 68ebc9507..960b123c6 100644 --- a/packages/taler-wallet-core/src/deposits.ts +++ b/packages/taler-wallet-core/src/deposits.ts @@ -109,11 +109,7 @@ import { notifyTransition, parseTransactionIdentifier, } from "./transactions.js"; -import { - InternalWalletState, - WalletExecutionContext, - getDenomInfo, -} from "./wallet.js"; +import { WalletExecutionContext, getDenomInfo } from "./wallet.js"; import { getCandidateWithdrawalDenomsTx } from "./withdraw.js"; /** @@ -891,9 +887,7 @@ async function processDepositGroupPendingTrack( }); return TaskRunResult.finished(); } else { - // Backing off until deposit long-polling works in the exchange. - return TaskRunResult.backoff(); - // return TaskRunResult.longpollReturnedPending(); + return TaskRunResult.longpollReturnedPending(); } } @@ -1128,8 +1122,7 @@ async function trackDeposit( wireHash, }); url.searchParams.set("merchant_sig", sigResp.sig); - // Not doing long-polling yet as it looks like it's broken in the exchange (2024-02-20) - // url.searchParams.set("timeout_ms", "30000"); + url.searchParams.set("timeout_ms", "30000"); const httpResp = await wex.http.fetch(url.href, { method: "GET", cancellationToken: wex.cancellationToken, |