mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
Client: print main_keypair
This commit is contained in:
@@ -17,7 +17,7 @@ use crate::{
|
||||
nullifier::Nullifier,
|
||||
save_params, setup_mint_prover, setup_spend_prover, OwnCoin,
|
||||
},
|
||||
serial::{Decodable, Encodable},
|
||||
serial::{serialize, Decodable, Encodable},
|
||||
service::{GatewayClient, GatewaySlabsSubscriber},
|
||||
state::{state_transition, ProgramState, StateUpdate},
|
||||
tx,
|
||||
@@ -70,6 +70,11 @@ impl Client {
|
||||
|
||||
let main_keypair = wallet.get_keypairs()?[0].clone();
|
||||
|
||||
info!(
|
||||
target: "CLIENT", "Main Keypair: {}",
|
||||
bs58::encode(&serialize(&main_keypair.public)).into_string()
|
||||
);
|
||||
|
||||
// Auto create trusted ceremony parameters if they don't exist
|
||||
if !params_paths.0.exists() {
|
||||
let params = setup_mint_prover();
|
||||
|
||||
Reference in New Issue
Block a user