Skip to content

Commit 30971bd

Browse files
committed
Remove duplicate function call
1 parent abbb8d0 commit 30971bd

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

src/router/mod.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -212,21 +212,6 @@ impl Router {
212212
);
213213
})??;
214214

215-
if (PoolLatency::get_mining_setup_latencies(
216-
&mut pool,
217-
setup_connection_msg.cloned(),
218-
timer.cloned(),
219-
auth_pub_key,
220-
)
221-
.await)
222-
.is_err()
223-
{
224-
error!(
225-
"Failed to get mining setup latencies for: {:?}",
226-
pool_address
227-
);
228-
return Err(());
229-
}
230215
if (PoolLatency::get_jd_latencies(&mut pool, auth_pub_key).await).is_err() {
231216
error!("Failed to get jd setup latencies for: {:?}", pool_address);
232217
return Err(());

0 commit comments

Comments
 (0)