diff options
author | Florian Dold <florian@dold.me> | 2024-04-04 20:59:01 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-04-04 20:59:01 +0200 |
commit | 3447532e02292d7fc4d58393e6d9f323be8ab154 (patch) | |
tree | 083be5beb6295d257bd15cb098973ffd3bd46b18 /packages | |
parent | ab724bdbd2059484335211662b63a9ae415a270c (diff) | |
download | wallet-core-3447532e02292d7fc4d58393e6d9f323be8ab154.tar.xz |
wallet-core: fix reporting of devMode setting
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 1f91f5ecf..b54204d64 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -1454,7 +1454,7 @@ export function getVersion(wex: WalletExecutionContext): WalletCoreVersion { bankIntegrationApiRange: WALLET_BANK_INTEGRATION_PROTOCOL_VERSION, corebankApiRange: WALLET_COREBANK_API_PROTOCOL_VERSION, bank: WALLET_BANK_INTEGRATION_PROTOCOL_VERSION, - devMode: false, + devMode: wex.ws.config.testing.devModeActive, }; return result; } @@ -1720,6 +1720,8 @@ export class InternalWalletState { initWithConfig(newConfig: WalletRunConfig): void { this._config = newConfig; + logger.info(`setting new config to ${j2s(newConfig)}`); + this._http = this.httpFactory(newConfig); if (this.config.testing.devModeActive) { |