diff options
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; |