mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 02:51:08 +00:00
Companion for paritytech/substrate#12828 (#6380)
* Companion for paritytech/substrate#12828 * Pass sync service * Fix test * Fix tests again * update lockfile for {"substrate"} * cargo fmt --------- Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -145,14 +145,13 @@ where
|
||||
loop {
|
||||
match network_stream.next().await {
|
||||
None => return Err(Error::EventStreamConcluded),
|
||||
Some(NetworkEvent::Dht(_)) |
|
||||
Some(NetworkEvent::SyncConnected { .. }) |
|
||||
Some(NetworkEvent::SyncDisconnected { .. }) => {},
|
||||
Some(NetworkEvent::Dht(_)) => {},
|
||||
Some(NetworkEvent::NotificationStreamOpened {
|
||||
remote: peer,
|
||||
protocol,
|
||||
role,
|
||||
negotiated_fallback,
|
||||
received_handshake: _,
|
||||
}) => {
|
||||
let role = ObservedRole::from(role);
|
||||
let (peer_set, version) = {
|
||||
|
||||
Reference in New Issue
Block a user