aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/util/retries.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-20 00:36:02 +0100
committerFlorian Dold <florian@dold.me>2023-02-20 00:38:24 +0100
commit30b3949d2bd9da6bceddb40f3d1921b95fa80316 (patch)
tree6163df600f17eadc94f7f3e51cc220bc8122ee8a /packages/taler-wallet-core/src/util/retries.ts
parente6ed901626a5219a1d091f4f41654365d2c29531 (diff)
downloadwallet-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.ts6
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}`;
}