mirror of
https://git.ghostchain.io/proxmio/ghost-node.git
synced 2025-12-27 03:09:56 +00:00
rustfmt tests and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
@@ -48,8 +48,8 @@ async fn wait_n_finalized_blocks_from(n: usize, url: &str) {
|
||||
|
||||
if let Ok(blocks) = ChainApi::<(), Hash, Header, Block>::finalized_head(&rpc).await {
|
||||
build_blocks.insert(block);
|
||||
if (build_blocks.len() > n {
|
||||
break
|
||||
if build_blocks.len() > n {
|
||||
break;
|
||||
}
|
||||
};
|
||||
interval.tick().await;
|
||||
@@ -80,7 +80,10 @@ pub fn find_ws_url_from_output(read: impl Read + Send) -> (String, String) {
|
||||
Some(format!("ws://{}", sock_addr))
|
||||
})
|
||||
.unwrap_or_else(|| {
|
||||
panic!("Could not find WebSocket address in process output:\n{}", &data)
|
||||
panic!(
|
||||
"Could not find WebSocket address in process output:\n{}",
|
||||
&data
|
||||
)
|
||||
});
|
||||
|
||||
(ws_url, data)
|
||||
|
||||
Reference in New Issue
Block a user