Skip to content

Commit

Permalink
default mining account is 0 so flag is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshOrndorff committed Dec 15, 2023
1 parent c73e5ec commit a41d030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl AcademyPowCli {
Some(account_id) => *account_id.as_ref(),
None => match self.mining_public_key {
Some(public_key) => public_key.0,
None => panic!("Specify one of --mining_account_id or --mining_public_key"),
None => [0u8; 32],
},
}
}
Expand Down

0 comments on commit a41d030

Please sign in to comment.