Skip to content

Commit

Permalink
fix worker key network key mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
longbowlu committed Mar 18, 2023
1 parent 3335bfd commit 7eb70c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/sui/src/validator_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ impl SuiValidatorCommand {
read_authority_keypair_from_file(protocol_key_file_name)?;
let account_keypair: SuiKeyPair = read_keypair_from_file(account_key_file_name)?;
let worker_keypair: NetworkKeyPair =
read_network_keypair_from_file(network_key_file_name)?;
let network_keypair: NetworkKeyPair =
read_network_keypair_from_file(worker_key_file_name)?;
let network_keypair: NetworkKeyPair =
read_network_keypair_from_file(network_key_file_name)?;
let pop =
generate_proof_of_possession(&keypair, (&account_keypair.public()).into());
let validator_info = GenesisValidatorInfo {
Expand Down

0 comments on commit 7eb70c0

Please sign in to comment.