mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
clippy fixes
This commit is contained in:
@@ -79,7 +79,7 @@ pub fn network_rpc(network: NetworkId, ops: &DockerOperations, handle: &str) ->
|
|||||||
NetworkId::Serai => panic!("getting port for external network yet it was Serai"),
|
NetworkId::Serai => panic!("getting port for external network yet it was Serai"),
|
||||||
})
|
})
|
||||||
.unwrap();
|
.unwrap();
|
||||||
format!("http://{RPC_USER}:{RPC_PASS}@{}:{}", ip.to_string(), port.to_string())
|
format!("http://{RPC_USER}:{RPC_PASS}@{ip}:{port}")
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn confirmations(network: NetworkId) -> usize {
|
pub fn confirmations(network: NetworkId) -> usize {
|
||||||
|
|||||||
Reference in New Issue
Block a user