aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-04-04 20:59:01 +0200
committerFlorian Dold <florian@dold.me>2024-04-04 20:59:01 +0200
commit3447532e02292d7fc4d58393e6d9f323be8ab154 (patch)
tree083be5beb6295d257bd15cb098973ffd3bd46b18
parentab724bdbd2059484335211662b63a9ae415a270c (diff)
downloadwallet-core-3447532e02292d7fc4d58393e6d9f323be8ab154.tar.xz
wallet-core: fix reporting of devMode setting
-rw-r--r--packages/taler-wallet-core/src/wallet.ts4
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) {