mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 01:41:09 +00:00
Make sure collators join the validation network (#1010)
Collators need to join the validation network to tell its connected relay chain peers the leaf they listen on. This is required to make the Parachain validator send the signed statement to the collators as well.
This commit is contained in:
@@ -1375,7 +1375,7 @@ impl<N: NetworkServiceOps> Service<N> {
|
||||
/// Take care to drop the stream, as the sending side will not be cleaned
|
||||
/// up until it is.
|
||||
pub fn checked_statements(&self, relay_parent: Hash)
|
||||
-> Pin<Box<dyn Stream<Item = SignedStatement>>> {
|
||||
-> impl Stream<Item = SignedStatement> + Send {
|
||||
let (tx, rx) = oneshot::channel();
|
||||
let mut sender = self.sender.clone();
|
||||
|
||||
@@ -1400,7 +1400,6 @@ impl<N: NetworkServiceOps> Service<N> {
|
||||
}
|
||||
})
|
||||
.flatten_stream()
|
||||
.boxed()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user