aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/util/retries.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-19 23:13:44 +0100
committerFlorian Dold <florian@dold.me>2023-02-19 23:13:44 +0100
commite6ed901626a5219a1d091f4f41654365d2c29531 (patch)
tree1dfb2fbc7615ebe6e91621b901bf90968bd98edf /packages/taler-wallet-core/src/util/retries.ts
parent925ef1f410e01323ee24ab9019afcc1713bf07c2 (diff)
downloadwallet-core-e6ed901626a5219a1d091f4f41654365d2c29531.tar.xz
wallet-core: various p2p payment fixes
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 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}`;
}