diff options
author | Sebastian <sebasjm@gmail.com> | 2023-02-10 12:52:05 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-02-10 12:52:05 -0300 |
commit | 3ade15e5e583a8482aed7579b86f340c283efb1c (patch) | |
tree | e395ec0f70b3498d74c944a0b52d854bdf7b3003 /packages | |
parent | 07398ee499f874a8cfc2c40c006eecc5ee7cc6b0 (diff) |
fix: Cannot read properties of undefined (reading 'ev_sig')
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.ts | 4 |
1 files 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 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, |