taler-typescript-core

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

commit 3447532e02292d7fc4d58393e6d9f323be8ab154
parent ab724bdbd2059484335211662b63a9ae415a270c
Author: Florian Dold <florian@dold.me>
Date:   Thu,  4 Apr 2024 20:59:01 +0200

wallet-core: fix reporting of devMode setting

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

diff --git 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) {