summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-02-10 12:53:27 -0300
committerSebastian <sebasjm@gmail.com>2023-02-10 12:53:27 -0300
commitc8336c8c2c8b0caaefa9e375108b73e2de2a1f60 (patch)
treea5808f5ce8d005d85cc1655ae1f409935dc41cdc /packages
parent599c6fa9545b1ea9ad3e0c27d06b3c6c1ec153cd (diff)
downloadwallet-core-c8336c8c2c8b0caaefa9e375108b73e2de2a1f60.tar.gz
wallet-core-c8336c8c2c8b0caaefa9e375108b73e2de2a1f60.tar.bz2
wallet-core-c8336c8c2c8b0caaefa9e375108b73e2de2a1f60.zip
pretty
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-core/src/operations/withdraw.ts9
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts
index 63879e557..c2fcf05e8 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -549,7 +549,10 @@ async function processPlanchetExchangeBatchRequest(
};
}
- async function handleKycRequired(resp: HttpResponse, startIdx: number): Promise<void> {
+ async function handleKycRequired(
+ resp: HttpResponse,
+ startIdx: number,
+ ): Promise<void> {
logger.info("withdrawal requires KYC");
const respJson = await resp.json();
const uuidResp = codecForWalletKycUuid().decode(respJson);
@@ -794,7 +797,7 @@ async function processPlanchetVerifyAndStoreCoin(
type: NotificationType.CoinWithdrawn,
numTotal: wgContext.numPlanchets,
numWithdrawn: wgContext.planchetsFinished.size,
- }
+ };
// Check if this is the first time that the whole
// withdrawal succeeded. If so, mark the withdrawal
@@ -1183,7 +1186,7 @@ export async function processWithdrawalGroup(
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
+ continue;
}
work.push(
processPlanchetVerifyAndStoreCoin(