gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: prevent parsing for success w


From: gnunet
Subject: [taler-wallet-core] branch master updated: prevent parsing for success when kyc trigger
Date: Mon, 06 Nov 2023 19:02:36 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 7436d8d86 prevent parsing for success when kyc trigger
7436d8d86 is described below

commit 7436d8d8612006b5f7917c63ee6bfe18b06281c9
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Nov 6 15:02:29 2023 -0300

    prevent parsing for success when kyc trigger
---
 packages/taler-wallet-core/src/operations/withdraw.ts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts 
b/packages/taler-wallet-core/src/operations/withdraw.ts
index 3600fcf22..5b8d101b1 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -936,6 +936,10 @@ async function processPlanchetExchangeBatchRequest(
     const resp = await ws.http.postJson(reqUrl, batchReq);
     if (resp.status === HttpStatusCode.UnavailableForLegalReasons) {
       await handleKycRequired(ws, withdrawalGroup, resp, 0, requestCoinIdxs);
+      return {
+        batchResp: { ev_sigs: [] },
+        coinIdxs: [],
+      };
     }
     const r = await readSuccessResponseJsonOrThrow(
       resp,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]