aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-28 19:04:42 +0200
committerFlorian Dold <florian@dold.me>2022-09-28 19:04:42 +0200
commit37243d4d8c241f971fe7524b0976e1b76b0e654d (patch)
tree7197d38f01782939035ff8c67934340d60596672
parent4382e090ab5ce3e09366736577101c3e9f8e6161 (diff)
Revert "fix: long polling doesnt wait"
This reverts commit 4382e090ab5ce3e09366736577101c3e9f8e6161.
-rw-r--r--packages/taler-wallet-core/src/wallet.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts
index c3acf1794..4323f68f5 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -407,7 +407,7 @@ export async function runOperationWithErrorReporting(
case OperationAttemptResultType.Pending:
return await storeOperationPending(ws, opId);
case OperationAttemptResultType.Longpoll:
- return await storeOperationPending(ws, opId);
+ break;
}
} catch (e) {
if (e instanceof TalerError) {