aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/db.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-23 21:47:38 +0200
committerFlorian Dold <florian@dold.me>2022-09-23 21:47:38 +0200
commit2337ddab6126722b46a0ea0b6e244955a38b09df (patch)
treee814990f2ca19970561eb31a297be77f6fe36245 /packages/taler-wallet-core/src/db.ts
parent8d19b801538e2be842ebe2d03ca464f72bb95edb (diff)
downloadwallet-core-2337ddab6126722b46a0ea0b6e244955a38b09df.tar.xz
wallet-core: fix withdrawal state machine
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r--packages/taler-wallet-core/src/db.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts
index 3bbe5f002..f8fddb255 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -127,6 +127,11 @@ export enum WithdrawalGroupStatus {
QueryingStatus = OperationStatusRange.ACTIVE_START + 2,
/**
+ * Ready for withdrawal.
+ */
+ Ready = OperationStatusRange.ACTIVE_START + 3,
+
+ /**
* The corresponding withdraw record has been created.
* No further processing is done, unless explicitly requested
* by the user.