warn instead of err
This commit is contained in:
parent
2b4a2c3cad
commit
5af0defbff
@ -96,11 +96,9 @@ impl Web3Connections {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if connections.len() < 2 {
|
|
||||||
// TODO: less than 3? what should we do here?
|
// TODO: less than 3? what should we do here?
|
||||||
return Err(anyhow::anyhow!(
|
if connections.len() < 2 {
|
||||||
"need at least 2 connections when subscribing to heads!"
|
warn!("Only 1 connection!");
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let synced_connections = SyncedConnections::default();
|
let synced_connections = SyncedConnections::default();
|
||||||
|
Loading…
Reference in New Issue
Block a user