Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Remove mutability
  • Loading branch information
pmikolajczyk41 committed Sep 5, 2022
commit 185de69612c1ef5154f76d5d64abc72800b01afc
2 changes: 1 addition & 1 deletion tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub async fn wait_n_finalized_blocks(
async fn wait_n_finalized_blocks_from(n: usize, url: &str) {
let mut built_blocks = std::collections::HashSet::new();
let mut interval = tokio::time::interval(Duration::from_secs(6));
let mut rpc_service = RpcService::new(url, false);
let rpc_service = RpcService::new(url, false);

loop {
if let Ok(block) = rpc_service.get_finalized_head::<Block>().await {
Expand Down