@@ -173,8 +173,9 @@ pub struct PbsModuleConfig {
173173 pub pbs_config : Arc < PbsConfig > ,
174174 /// List of default relays
175175 pub relays : Vec < RelayClient > ,
176- /// List of all default relays plus additional relays from muxes (based on URL)
177- /// DO NOT use this for get_header calls, use `relays` or `muxes` instead
176+ /// List of all default relays plus additional relays from muxes (based on
177+ /// URL) DO NOT use this for get_header calls, use `relays` or `muxes`
178+ /// instead
178179 pub all_relays : Vec < RelayClient > ,
179180 /// Signer client to call Signer API
180181 pub signer_client : Option < SignerClient > ,
@@ -222,8 +223,9 @@ pub async fn load_pbs_config() -> Result<PbsModuleConfig> {
222223 }
223224
224225 // insert default relays after to make sure we keep these as defaults,
225- // this means we override timing games which is ok since this won't be used for get_header
226- // we also override headers if the same relays has two definitions (in muxes and default)
226+ // this means we override timing games which is ok since this won't be used for
227+ // get_header we also override headers if the same relays has two
228+ // definitions (in muxes and default)
227229 for relay in relay_clients. iter ( ) {
228230 all_relays. insert ( & relay. config . entry . url , relay. clone ( ) ) ;
229231 }
@@ -297,8 +299,9 @@ pub async fn load_pbs_custom_config<T: DeserializeOwned>() -> Result<(PbsModuleC
297299 }
298300
299301 // insert default relays after to make sure we keep these as defaults,
300- // this also means we override timing games which is ok since this won't be used for get header
301- // we also override headers if the same relays has two definitions (in muxes and default)
302+ // this also means we override timing games which is ok since this won't be used
303+ // for get header we also override headers if the same relays has two
304+ // definitions (in muxes and default)
302305 for relay in relay_clients. iter ( ) {
303306 all_relays. insert ( & relay. config . entry . url , relay. clone ( ) ) ;
304307 }
0 commit comments