mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 05:21:08 +00:00
Fix hardcoded values in the PSM config (#2103)
This commit is contained in:
committed by
Arkadiy Paronyan
parent
3ba7442dca
commit
a1f3b0b529
@@ -73,8 +73,8 @@ where TMessage: CustomMessage + Send + 'static {
|
||||
|
||||
// Build the peerset.
|
||||
let (peerset, peerset_receiver) = substrate_peerset::Peerset::from_config(substrate_peerset::PeersetConfig {
|
||||
in_peers: 25,
|
||||
out_peers: 25,
|
||||
in_peers: config.in_peers,
|
||||
out_peers: config.out_peers,
|
||||
bootnodes,
|
||||
reserved_only: config.non_reserved_mode == NonReservedPeerMode::Deny,
|
||||
reserved_nodes,
|
||||
|
||||
Reference in New Issue
Block a user