mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 16:17:59 +00:00
overseer: send_msg should not return an error (#1995)
* send_message should not return an error * Apply suggestions from code review Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com> * s/send_logging_error/send_and_log_error Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com>
This commit is contained in:
@@ -63,7 +63,7 @@ pub async fn connect_to_validators<Context: SubsystemContext>(
|
||||
relay_parent,
|
||||
RuntimeApiRequest::ValidatorDiscovery(validators.clone(), tx),
|
||||
)
|
||||
)).await?;
|
||||
)).await;
|
||||
|
||||
let maybe_authorities = rx.await??;
|
||||
let authorities: Vec<_> = maybe_authorities.iter()
|
||||
@@ -97,7 +97,7 @@ async fn connect_to_authorities<Context: SubsystemContext>(
|
||||
validator_ids,
|
||||
connected,
|
||||
}
|
||||
)).await?;
|
||||
)).await;
|
||||
|
||||
Ok(connected_rx)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user