Added a node name to init so we can run multiple nodes with stable identifiers
This commit is contained in:
@@ -10,9 +10,9 @@ async fn main() {
|
||||
let args = parse_args();
|
||||
|
||||
match &args.command {
|
||||
Some(Commands::Init {}) => {
|
||||
Some(Commands::Init { name }) => {
|
||||
let config = init::config::SideNodeConfig {
|
||||
name: "alice".to_string(),
|
||||
name: name.to_string(),
|
||||
};
|
||||
|
||||
let _ = init::init(home(), config);
|
||||
|
||||
Reference in New Issue
Block a user