summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-04-02 21:03:57 +0200
committerFlorian Dold <florian@dold.me>2024-04-02 21:03:57 +0200
commitbc3e40310ef37c90ef16d562440fffe9793f1099 (patch)
tree041b85100b0bb4cf44e76cfc0cd5832e9ea4a5f7 /packages/taler-wallet-core/src/wallet.ts
parent43f8ef1c31a364bd620711d2444bf162c81589c5 (diff)
downloadwallet-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.ts3
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);