Skip to content

Commit 539b358

Browse files
committed
clean up
1 parent 34277ad commit 539b358

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

aptos-node/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ use aptos_build_info::build_information;
2323
use aptos_config::config::{
2424
merge_node_config, InitialSafetyRulesConfig, NodeConfig, PersistableConfig,
2525
};
26-
use aptos_crypto::ed25519::Ed25519PublicKey;
2726
use aptos_dkg_runtime::start_dkg_runtime;
2827
use aptos_framework::ReleaseBundle;
2928
use aptos_jwk_consensus::start_jwk_consensus_runtime;
@@ -533,11 +532,6 @@ where
533532
})))
534533
.with_randomize_first_validator_ports(random_ports);
535534
let (root_key, _genesis, genesis_waypoint, mut validators) = builder.build(rng)?;
536-
let sk_bytes = root_key.to_bytes();
537-
let pk = Ed25519PublicKey::from(&root_key);
538-
let pk_bytes = pk.to_bytes();
539-
println!("root_sk_hex={}", hex::encode(sk_bytes));
540-
println!("root_pk_hex={}", hex::encode(pk_bytes));
541535

542536
// Write the mint key to disk
543537
let serialized_keys = bcs::to_bytes(&root_key)?;

0 commit comments

Comments
 (0)