taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit bc3e40310ef37c90ef16d562440fffe9793f1099
parent 43f8ef1c31a364bd620711d2444bf162c81589c5
Author: Florian Dold <florian@dold.me>
Date:   Tue,  2 Apr 2024 21:03:57 +0200

wallet-core: don't throw on re-initialization

Diffstat:
Mpackages/taler-wallet-core/src/wallet.ts | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts @@ -1717,9 +1717,6 @@ export class InternalWalletState { } initWithConfig(newConfig: WalletRunConfig): void { - if (this._config) { - throw Error("config already set"); - } this._config = newConfig; this._http = this.httpFactory(newConfig);