diff options
author | Florian Dold <florian@dold.me> | 2024-04-02 21:03:57 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-04-02 21:03:57 +0200 |
commit | bc3e40310ef37c90ef16d562440fffe9793f1099 (patch) | |
tree | 041b85100b0bb4cf44e76cfc0cd5832e9ea4a5f7 /packages/taler-wallet-core/src/wallet.ts | |
parent | 43f8ef1c31a364bd620711d2444bf162c81589c5 (diff) | |
download | wallet-core-bc3e40310ef37c90ef16d562440fffe9793f1099.tar.gz wallet-core-bc3e40310ef37c90ef16d562440fffe9793f1099.tar.bz2 wallet-core-bc3e40310ef37c90ef16d562440fffe9793f1099.zip |
wallet-core: don't throw on re-initialization
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 9536b3da8..f531c32a3 100644 --- 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); |