Skip to content

Commit 95ebfd5

Browse files
committed
fix
1 parent c64ea0d commit 95ebfd5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

scripts/run-timeboost-demo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ for (( i=0; i<$nodes; i++ )); do
128128
--keyset-file $keyset_file
129129
--stamp "${stamp}-$i.sf"
130130
--watchdog-timeout 120
131-
--namespace $namespace)
131+
--namespace $namespace
132+
--https-only "false")
132133

133134
if $ignore_stamp; then
134135
cmd+=(--ignore-stamp)

timeboost/src/binaries/timeboost.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ struct Cli {
6969
namespace: u64,
7070

7171
/// Submitter should connect only with https?
72-
#[clap(long, default_value_t = false)]
73-
no_https: bool,
72+
#[clap(long, default_value_t = true, action = clap::ArgAction::Set)]
73+
https_only: bool,
7474

7575
/// The until value to use for the committee config.
7676
#[cfg(feature = "until")]
@@ -220,7 +220,7 @@ async fn main() -> Result<()> {
220220
.base_url(cli.espresso_base_url)
221221
.wss_base_url(cli.espresso_websocket_url)
222222
.label(pubkey.to_string())
223-
.https_only(!cli.no_https)
223+
.https_only(cli.https_only)
224224
.build(),
225225
Vec::new(),
226226
))

0 commit comments

Comments
 (0)