diff options
author | Florian Dold <florian@dold.me> | 2023-02-20 00:36:02 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-20 00:38:24 +0100 |
commit | 30b3949d2bd9da6bceddb40f3d1921b95fa80316 (patch) | |
tree | 6163df600f17eadc94f7f3e51cc220bc8122ee8a /packages/taler-wallet-core/src/util/retries.ts | |
parent | e6ed901626a5219a1d091f4f41654365d2c29531 (diff) | |
download | wallet-core-30b3949d2bd9da6bceddb40f3d1921b95fa80316.tar.xz |
wallet-core: pending operation for peer push credit, save withdrawalGroupId
Diffstat (limited to 'packages/taler-wallet-core/src/util/retries.ts')
-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}`; } |