From f16d2e52d51b931d18abd9d87568be681339350f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 3 May 2022 17:53:32 +0200 Subject: wallet-core: implement batch withdrawal --- packages/taler-wallet-core/src/wallet.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/taler-wallet-core/src/wallet.ts') 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, http: HttpRequestLibrary, @@ -1158,6 +1162,8 @@ class InternalWalletStateImpl implements InternalWalletState { insecureTrustExchange = false; + batchWithdrawal = false; + readonly timerGroup: TimerGroup; latch = new AsyncCondition(); stopped = false; -- cgit v1.2.3