taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit cee43a6fc5329e048ac49308d0dcecbdb263bb72
parent 671e62d4a539a74e046c957a4d5c3585eed17cc9
Author: Florian Dold <florian@dold.me>
Date:   Wed, 26 Jun 2024 17:32:22 +0200

-comment

Diffstat:
Mpackages/taler-wallet-core/src/withdraw.ts | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/packages/taler-wallet-core/src/withdraw.ts b/packages/taler-wallet-core/src/withdraw.ts @@ -1105,6 +1105,10 @@ enum ExchangeAmlStatus { Frozen = 2, } +/** + * Transition a transaction from pending(ready) + * into a pending(kyc|aml) state, in case KYC is required. + */ async function handleKycRequired( wex: WalletExecutionContext, withdrawalGroup: WithdrawalGroupRecord, @@ -1129,6 +1133,7 @@ async function handleKycRequired( exchangeUrl, ); logger.info(`kyc url ${url.href}`); + // We do not longpoll here, as this is the initial request to get information about the KYC. const kycStatusRes = await wex.http.fetch(url.href, { method: "GET", cancellationToken: wex.cancellationToken,