diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/reward.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/reward.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/operations/reward.ts b/packages/taler-wallet-core/src/operations/reward.ts index 6dcd48019..4d8653a9d 100644 --- a/packages/taler-wallet-core/src/operations/reward.ts +++ b/packages/taler-wallet-core/src/operations/reward.ts @@ -83,7 +83,6 @@ import { constructTransactionIdentifier, notifyTransition, parseTransactionIdentifier, - stopLongpolling, } from "./transactions.js"; import { PendingTaskType } from "../pending-types.js"; import { assertUnreachable } from "../util/assertUnreachable.js"; @@ -125,7 +124,6 @@ export class RewardTransactionContext implements TransactionContext { async suspendTransaction(): Promise<void> { const { ws, walletRewardId, transactionId, retryTag } = this; - stopLongpolling(ws, retryTag); const transitionInfo = await ws.db .mktx((x) => [x.rewards]) .runReadWrite(async (tx) => { @@ -161,13 +159,11 @@ export class RewardTransactionContext implements TransactionContext { } return undefined; }); - ws.workAvailable.trigger(); notifyTransition(ws, transactionId, transitionInfo); } async abortTransaction(): Promise<void> { const { ws, walletRewardId, transactionId, retryTag } = this; - stopLongpolling(ws, retryTag); const transitionInfo = await ws.db .mktx((x) => [x.rewards]) .runReadWrite(async (tx) => { @@ -207,7 +203,6 @@ export class RewardTransactionContext implements TransactionContext { async resumeTransaction(): Promise<void> { const { ws, walletRewardId, transactionId, retryTag } = this; - stopLongpolling(ws, retryTag); const transitionInfo = await ws.db .mktx((x) => [x.rewards]) .runReadWrite(async (tx) => { @@ -247,7 +242,6 @@ export class RewardTransactionContext implements TransactionContext { async failTransaction(): Promise<void> { const { ws, walletRewardId, transactionId, retryTag } = this; - stopLongpolling(ws, retryTag); const transitionInfo = await ws.db .mktx((x) => [x.rewards]) .runReadWrite(async (tx) => { |