summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/transactions.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-05-28 18:03:28 +0200
committerFlorian Dold <florian@dold.me>2023-05-30 09:33:38 +0200
commit246f914ca62906b463dfe98e834b5ade379a97e0 (patch)
tree3a55e74b74f3ebbae7d6d42fc0eee2c251d85de7 /packages/taler-wallet-core/src/operations/transactions.ts
parentbd7ca80ff6528377afdfcb94f612393853d3f69c (diff)
downloadwallet-core-246f914ca62906b463dfe98e834b5ade379a97e0.tar.gz
wallet-core-246f914ca62906b463dfe98e834b5ade379a97e0.tar.bz2
wallet-core-246f914ca62906b463dfe98e834b5ade379a97e0.zip
wallet-core: missing suspended states
Diffstat (limited to 'packages/taler-wallet-core/src/operations/transactions.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/transactions.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts
index 481ffe8bb..3645edd93 100644
--- a/packages/taler-wallet-core/src/operations/transactions.ts
+++ b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -48,7 +48,7 @@ import {
ExchangeDetailsRecord,
OperationRetryRecord,
PeerPullPaymentIncomingRecord,
- PeerPullPaymentIncomingStatus,
+ PeerPullDebitRecordStatus,
PeerPullPaymentInitiationRecord,
PeerPushPaymentIncomingRecord,
PeerPushPaymentIncomingStatus,
@@ -906,8 +906,8 @@ export async function getTransactions(
return;
}
if (
- pi.status !== PeerPullPaymentIncomingStatus.Accepted &&
- pi.status !== PeerPullPaymentIncomingStatus.Paid
+ pi.status !== PeerPullDebitRecordStatus.PendingDeposit &&
+ pi.status !== PeerPullDebitRecordStatus.DonePaid
) {
return;
}
@@ -926,7 +926,7 @@ export async function getTransactions(
if (shouldSkipSearch(transactionsRequest, [])) {
return;
}
- if (pi.status === PeerPushPaymentIncomingStatus.Proposed) {
+ if (pi.status === PeerPushPaymentIncomingStatus.DialogProposed) {
// We don't report proposed push credit transactions, user needs
// to scan URI again and confirm to see it.
return;