[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 01/03: fix: Cannot read properties of undefined (rea
From: |
gnunet |
Subject: |
[taler-wallet-core] 01/03: fix: Cannot read properties of undefined (reading 'ev_sig') |
Date: |
Fri, 10 Feb 2023 16:53:37 +0100 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
commit 3ade15e5e583a8482aed7579b86f340c283efb1c
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Fri Feb 10 12:52:05 2023 -0300
fix: Cannot read properties of undefined (reading 'ev_sig')
---
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 987a5e062..5b8944aaf 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -1181,6 +1181,10 @@ export async function processWithdrawalGroup(
let work: Promise<void>[] = [];
work = [];
for (let j = 0; j < resp.coinIdxs.length; j++) {
+ if (!resp.batchResp.ev_sigs[j]) {
+ //response may not be available when there is kyc needed
+ continue
+ }
work.push(
processPlanchetVerifyAndStoreCoin(
ws,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.