commit 3ade15e5e583a8482aed7579b86f340c283efb1c parent 07398ee499f874a8cfc2c40c006eecc5ee7cc6b0 Author: Sebastian <sebasjm@gmail.com> Date: Fri, 10 Feb 2023 12:52:05 -0300 fix: Cannot read properties of undefined (reading 'ev_sig') Diffstat:
| M | packages/taler-wallet-core/src/operations/withdraw.ts | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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,