diff options
Diffstat (limited to 'packages/taler-wallet-core/src/util/retries.ts')
-rw-r--r-- | packages/taler-wallet-core/src/util/retries.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/util/retries.ts b/packages/taler-wallet-core/src/util/retries.ts index a021087be..12e1df7e9 100644 --- a/packages/taler-wallet-core/src/util/retries.ts +++ b/packages/taler-wallet-core/src/util/retries.ts @@ -197,9 +197,9 @@ export type ParsedTaskIdentifier = | { tag: PendingTaskType.ExchangeCheckRefresh; exchangeBaseUrl: string } | { tag: PendingTaskType.ExchangeUpdate; exchangeBaseUrl: string } | { tag: PendingTaskType.PeerPullDebit; peerPullPaymentIncomingId: string } - | { tag: PendingTaskType.PeerPullInitiation; pursePub: string } + | { tag: PendingTaskType.PeerPullCredit; pursePub: string } | { tag: PendingTaskType.PeerPushCredit; peerPushPaymentIncomingId: string } - | { tag: PendingTaskType.PeerPushInitiation; pursePub: string } + | { tag: PendingTaskType.PeerPushDebit; pursePub: string } | { tag: PendingTaskType.Purchase; proposalId: string } | { tag: PendingTaskType.Recoup; recoupGroupId: string } | { tag: PendingTaskType.TipPickup; walletTipId: string } @@ -223,9 +223,9 @@ export function constructTaskIdentifier(p: ParsedTaskIdentifier): string { return `${p.tag}:${p.peerPullPaymentIncomingId}`; case PendingTaskType.PeerPushCredit: return `${p.tag}:${p.peerPushPaymentIncomingId}`; - case PendingTaskType.PeerPullInitiation: + case PendingTaskType.PeerPullCredit: return `${p.tag}:${p.pursePub}`; - case PendingTaskType.PeerPushInitiation: + case PendingTaskType.PeerPushDebit: return `${p.tag}:${p.pursePub}`; case PendingTaskType.Purchase: return `${p.tag}:${p.proposalId}`; @@ -276,12 +276,12 @@ export namespace TaskIdentifiers { export function forPeerPushPaymentInitiation( ppi: PeerPushPaymentInitiationRecord, ): string { - return `${PendingTaskType.PeerPushInitiation}:${ppi.pursePub}`; + return `${PendingTaskType.PeerPushDebit}:${ppi.pursePub}`; } export function forPeerPullPaymentInitiation( ppi: PeerPullPaymentInitiationRecord, ): string { - return `${PendingTaskType.PeerPullInitiation}:${ppi.pursePub}`; + return `${PendingTaskType.PeerPullCredit}:${ppi.pursePub}`; } export function forPeerPullPaymentDebit( ppi: PeerPullPaymentIncomingRecord, |