summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-04-24 15:40:09 -0300
committerSebastian <sebasjm@gmail.com>2023-04-24 15:40:09 -0300
commit0dc482c2ded986425108366de9ff7d95b3ca907e (patch)
treef162e59a5641d50fed12d449db3200e135ea7165 /packages
parente4407f825960554659af276d88eb54cc4e5fde9f (diff)
downloadwallet-core-0dc482c2ded986425108366de9ff7d95b3ca907e.tar.gz
wallet-core-0dc482c2ded986425108366de9ff7d95b3ca907e.tar.bz2
wallet-core-0dc482c2ded986425108366de9ff7d95b3ca907e.zip
switching from allowHttp to noHttp so test script wont break
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-cli/src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts
index 0f378f360..7fd218941 100644
--- a/packages/taler-wallet-cli/src/index.ts
+++ b/packages/taler-wallet-cli/src/index.ts
@@ -190,7 +190,7 @@ export const walletCli = clk
.flag("noThrottle", ["--no-throttle"], {
help: "Don't do any request throttling.",
})
- .flag("allowHttp", ["--allow-http"], {
+ .flag("noHttp", ["--no-http"], {
help: "Allow unsafe http connections.",
})
.flag("version", ["-v", "--version"], {
@@ -243,7 +243,7 @@ async function createLocalWallet(
const dbPath = walletCliArgs.wallet.walletDbFile ?? defaultWalletDbPath;
const myHttpLib = createPlatformHttpLib({
enableThrottling: walletCliArgs.wallet.noThrottle ? false : true,
- allowHttp: walletCliArgs.wallet.allowHttp ? true : false,
+ allowHttp: walletCliArgs.wallet.noHttp ? false : true,
});
const wallet = await createNativeWalletHost({
persistentStoragePath: dbPath !== ":memory:" ? dbPath : undefined,