aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-wallet-core/src/operations/withdraw.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts
index 652b26c1e..8a492bd6e 100644
--- a/packages/taler-wallet-core/src/operations/withdraw.ts
+++ b/packages/taler-wallet-core/src/operations/withdraw.ts
@@ -890,10 +890,7 @@ async function processWithdrawGroupImpl(
const r = await tx.reserves.indexes.byInitialWithdrawalGroupId.get(
withdrawalGroupId,
);
- if (r) {
- return r.reservePub;
- }
- return undefined;
+ return r?.reservePub;
});
if (!reservePub) {
logger.warn(