summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/db.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-03-05 01:55:21 +0100
committerFlorian Dold <florian@dold.me>2024-03-05 01:55:21 +0100
commit2dd1bbebcaed35308105a8470e1aefb9f6f19900 (patch)
tree143a613f6c2d09b0a86ad16985a1b2637dbfe76f /packages/taler-wallet-core/src/db.ts
parenta98fe4b00d499b1fc2b9df6a21991e3449853868 (diff)
downloadwallet-core-2dd1bbebcaed35308105a8470e1aefb9f6f19900.tar.gz
wallet-core-2dd1bbebcaed35308105a8470e1aefb9f6f19900.tar.bz2
wallet-core-2dd1bbebcaed35308105a8470e1aefb9f6f19900.zip
wallet-core: use state instead of yet another flag
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r--packages/taler-wallet-core/src/db.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts
index 7e4f9fa4a..83b595a8a 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -1168,6 +1168,8 @@ export enum PurchaseStatus {
*/
FailedClaim = 0x0501_0000,
+ FailedPaidByOther = 0x0501_0001,
+
/**
* Payment was successful.
*/
@@ -1326,12 +1328,6 @@ export interface PurchaseRecord {
* did not picked up yet
*/
refundAmountAwaiting: AmountString | undefined;
-
- /**
- * When the purchase has been shared to other wallet
- * and the other wallet completed before this one.
- */
- paidByOther: boolean | undefined;
}
export enum ConfigRecordKey {