From 30b3949d2bd9da6bceddb40f3d1921b95fa80316 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 20 Feb 2023 00:36:02 +0100 Subject: wallet-core: pending operation for peer push credit, save withdrawalGroupId --- packages/taler-wallet-core/src/util/retries.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/taler-wallet-core/src/util/retries.ts') diff --git a/packages/taler-wallet-core/src/util/retries.ts b/packages/taler-wallet-core/src/util/retries.ts index 6485a6b79..ffa4d5b9e 100644 --- a/packages/taler-wallet-core/src/util/retries.ts +++ b/packages/taler-wallet-core/src/util/retries.ts @@ -33,6 +33,7 @@ import { ExchangeRecord, PeerPullPaymentIncomingRecord, PeerPullPaymentInitiationRecord, + PeerPushPaymentIncomingRecord, PeerPushPaymentInitiationRecord, PurchaseRecord, RecoupGroupRecord, @@ -221,6 +222,11 @@ export namespace RetryTags { ): string { return `${PendingTaskType.PeerPullDebit}:${ppi.pursePub}`; } + export function forPeerPushCredit( + ppi: PeerPushPaymentIncomingRecord, + ): string { + return `${PendingTaskType.PeerPushCredit}:${ppi.pursePub}`; + } export function byPaymentProposalId(proposalId: string): string { return `${PendingTaskType.Purchase}:${proposalId}`; } -- cgit v1.2.3