Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtlofgren committed Jul 5, 2023
1 parent 87bec10 commit f55eb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/src/lib/client/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ pub fn init_network(
config.ledger.cometbft.p2p.addr_book_strict = !localhost;
// Clear the net address from the config and use it to set ports
let net_address = validator_config.net_address.take().unwrap();
let ip = SocketAddr::from_str(&net_address).unwrap().ip();
let _ip = SocketAddr::from_str(&net_address).unwrap().ip();
let first_port = SocketAddr::from_str(&net_address).unwrap().port();
if localhost {
config.ledger.cometbft.p2p.laddr = TendermintAddress::from_str(
Expand Down

0 comments on commit f55eb66

Please sign in to comment.