Skip to content

Commit c64ea0d

Browse files
committed
fix flag
1 parent 5b53976 commit c64ea0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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 = true)]
73-
https_only: bool,
72+
#[clap(long, default_value_t = false)]
73+
no_https: 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.https_only)
223+
.https_only(!cli.no_https)
224224
.build(),
225225
Vec::new(),
226226
))

0 commit comments

Comments
 (0)