mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
Rust 1.58 lints (#2906)
## Issue Addressed Closes #2616 ## Proposed Changes * Fixes for new Rust 1.58.0 lints * Enable the `fn_to_numeric_cast_any` (#2616)
This commit is contained in:
@@ -714,7 +714,7 @@ pub fn set_network_config(
|
||||
None
|
||||
}
|
||||
}) {
|
||||
addr.push_str(&format!(":{}", enr_udp_port.to_string()));
|
||||
addr.push_str(&format!(":{}", enr_udp_port));
|
||||
} else {
|
||||
return Err(
|
||||
"enr-udp-port must be set for node to be discoverable with dns address"
|
||||
|
||||
Reference in New Issue
Block a user