mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 18:37:59 +00:00
Support disabling the addition of the default bootnode (#3888)
This commit is contained in:
@@ -803,7 +803,7 @@ where
|
||||
G: RuntimeGenesis,
|
||||
E: ChainSpecExtension,
|
||||
{
|
||||
if spec.boot_nodes().is_empty() {
|
||||
if spec.boot_nodes().is_empty() && !cli.disable_default_bootnode {
|
||||
let base_path = base_path(&cli.shared_params, version);
|
||||
let storage_path = network_path(&base_path, spec.id());
|
||||
let node_key = node_key_config(cli.node_key_params, &Some(storage_path))?;
|
||||
|
||||
Reference in New Issue
Block a user