summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/db.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-03-05 01:58:33 +0100
committerFlorian Dold <florian@dold.me>2024-03-05 01:58:33 +0100
commit48bc172e35fc32c51e72f9c2e2a5a0258e7806fa (patch)
tree11b6a764659a55b37189a432b2c95899aa1a7c08 /packages/taler-wallet-core/src/db.ts
parent2dd1bbebcaed35308105a8470e1aefb9f6f19900 (diff)
downloadwallet-core-48bc172e35fc32c51e72f9c2e2a5a0258e7806fa.tar.gz
wallet-core-48bc172e35fc32c51e72f9c2e2a5a0258e7806fa.tar.bz2
wallet-core-48bc172e35fc32c51e72f9c2e2a5a0258e7806fa.zip
wallet-core: duplicate state
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r--packages/taler-wallet-core/src/db.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts
index 83b595a8a..dabc6393d 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -1168,7 +1168,12 @@ export enum PurchaseStatus {
*/
FailedClaim = 0x0501_0000,
- FailedPaidByOther = 0x0501_0001,
+ /**
+ * Tried to abort, but aborting failed or was cancelled.
+ */
+ FailedAbort = 0x0501_0001,
+
+ FailedPaidByOther = 0x0501_0002,
/**
* Payment was successful.
@@ -1188,11 +1193,6 @@ export enum PurchaseStatus {
AbortedRefunded = 0x0503_0001,
AbortedOrderDeleted = 0x0503_0002,
-
- /**
- * Tried to abort, but aborting failed or was cancelled.
- */
- FailedAbort = 0x0501_0001,
}
/**