Skip to content

Commit

Permalink
fail early on incorrect url
Browse files Browse the repository at this point in the history
  • Loading branch information
ppca committed May 26, 2024
1 parent 9c13b25 commit 256954a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ pub fn run(cmd: Cli) -> anyhow::Result<()> {
let sign_sk = sign_sk.unwrap_or_else(|| account_sk.clone());
let my_address = my_address
.map(|mut addr| {
let _ = addr.set_port(Some(web_port));
addr.set_port(Some(web_port)).unwrap();
addr
})
.unwrap_or_else(|| {
Expand Down

0 comments on commit 256954a

Please sign in to comment.