diff options
author | Florian Dold <florian@dold.me> | 2022-05-03 17:53:32 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-05-03 17:53:37 +0200 |
commit | f16d2e52d51b931d18abd9d87568be681339350f (patch) | |
tree | 2536efba55fa1a937d9be27f009b1e0bca5139dd /packages/taler-wallet-core/src/wallet.ts | |
parent | b4e219f7ff99f62d563b106c1add4c5744680b1c (diff) | |
download | wallet-core-f16d2e52d51b931d18abd9d87568be681339350f.tar.xz |
wallet-core: implement batch withdrawal
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 7c917c411..fb61ae0dc 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -1101,6 +1101,10 @@ export class Wallet { this.ws.insecureTrustExchange = true; } + setBatchWithdrawal(enable: boolean): void { + this.ws.batchWithdrawal = enable; + } + static async create( db: DbAccess<typeof WalletStoresV1>, http: HttpRequestLibrary, @@ -1158,6 +1162,8 @@ class InternalWalletStateImpl implements InternalWalletState { insecureTrustExchange = false; + batchWithdrawal = false; + readonly timerGroup: TimerGroup; latch = new AsyncCondition(); stopped = false; |