diff options
Diffstat (limited to 'packages/taler-wallet-core/src/util')
-rw-r--r-- | packages/taler-wallet-core/src/util/retries.ts | 6 |
1 files changed, 6 insertions, 0 deletions
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}`; } |