diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay-peer-pull-debit.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-peer-pull-debit.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay-peer-pull-debit.ts b/packages/taler-wallet-core/src/operations/pay-peer-pull-debit.ts index 0595a9e67..322d9ca71 100644 --- a/packages/taler-wallet-core/src/operations/pay-peer-pull-debit.ts +++ b/packages/taler-wallet-core/src/operations/pay-peer-pull-debit.ts @@ -59,13 +59,15 @@ import { createRefreshGroup, } from "../index.js"; import { assertUnreachable } from "../util/assertUnreachable.js"; +import { checkLogicInvariant } from "../util/invariants.js"; import { OperationAttemptResult, OperationAttemptResultType, TaskIdentifiers, constructTaskIdentifier, -} from "../util/retries.js"; -import { runOperationWithErrorReporting, spendCoins } from "./common.js"; + runTaskWithErrorReporting, + spendCoins, +} from "./common.js"; import { PeerCoinRepair, codecForExchangePurseStatus, @@ -78,7 +80,6 @@ import { notifyTransition, stopLongpolling, } from "./transactions.js"; -import { checkLogicInvariant } from "../util/invariants.js"; const logger = new Logger("pay-peer-pull-debit.ts"); @@ -462,7 +463,7 @@ export async function confirmPeerPullDebit( return pi; }); - await runOperationWithErrorReporting( + await runTaskWithErrorReporting( ws, TaskIdentifiers.forPeerPullPaymentDebit(ppi), async () => { |