From e6ed901626a5219a1d091f4f41654365d2c29531 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 19 Feb 2023 23:13:44 +0100 Subject: wallet-core: various p2p payment fixes --- 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 742381f7b..6485a6b79 100644 --- a/packages/taler-wallet-core/src/util/retries.ts +++ b/packages/taler-wallet-core/src/util/retries.ts @@ -31,6 +31,7 @@ import { BackupProviderRecord, DepositGroupRecord, ExchangeRecord, + PeerPullPaymentIncomingRecord, PeerPullPaymentInitiationRecord, PeerPushPaymentInitiationRecord, PurchaseRecord, @@ -215,6 +216,11 @@ export namespace RetryTags { ): string { return `${PendingTaskType.PeerPullInitiation}:${ppi.pursePub}`; } + export function forPeerPullPaymentDebit( + ppi: PeerPullPaymentIncomingRecord, + ): string { + return `${PendingTaskType.PeerPullDebit}:${ppi.pursePub}`; + } export function byPaymentProposalId(proposalId: string): string { return `${PendingTaskType.Purchase}:${proposalId}`; } -- cgit v1.2.3