mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
cargo +nightly fmt (#3540)
* cargo +nightly fmt * add cargo-fmt check to ci * update ci * fmt * fmt * skip macro * ignore bridges
This commit is contained in:
@@ -17,7 +17,10 @@
|
||||
//! All peersets and protocols used for parachains.
|
||||
|
||||
use sc_network::config::{NonDefaultSetConfig, SetConfig};
|
||||
use std::{borrow::Cow, ops::{Index, IndexMut}};
|
||||
use std::{
|
||||
borrow::Cow,
|
||||
ops::{Index, IndexMut},
|
||||
};
|
||||
use strum::{EnumIter, IntoEnumIterator};
|
||||
|
||||
/// The peer-sets and thus the protocols which are used for the network.
|
||||
@@ -79,7 +82,7 @@ impl PeerSet {
|
||||
sc_network::config::NonReservedPeerMode::Accept
|
||||
} else {
|
||||
sc_network::config::NonReservedPeerMode::Deny
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user