Skip to content

Commit

Permalink
fix bug and add account output on build for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
greg committed Oct 10, 2023
1 parent 47f013e commit b6e970e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions k8s-cluster/src/genesis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ impl Genesis {
let keypair = generate_keypair()?;
self.all_pubkeys.push(keypair.pubkey());

if account == "identity" {
info!("identity: {:?}", keypair.pubkey());
}

if let Some(outfile) = outfile.to_str() {
output_keypair(&keypair, outfile)
.map_err(|err| format!("Unable to write {outfile}: {err}"))?;
Expand Down
4 changes: 3 additions & 1 deletion k8s-cluster/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,9 @@ async fn main() {
Some(limit_ledger_size)
} else {
None
}
},
skip_poh_verify: matches.is_present("skip_poh_verify")

};

let wait_for_supermajority: Option<u64> = validator_config.wait_for_supermajority;
Expand Down

0 comments on commit b6e970e

Please sign in to comment.