feat: add more logging for iroh initialization and peer addition

This commit is contained in:
link2xt
2024-10-23 17:14:03 +00:00
parent 4b3a6445fb
commit db6d451c90
2 changed files with 3 additions and 1 deletions

View File

@@ -232,6 +232,7 @@ impl ChannelState {
impl Context {
/// Create iroh endpoint and gossip.
async fn init_peer_channels(&self) -> Result<Iroh> {
info!(self, "Initializing peer channels.");
let secret_key = SecretKey::generate();
let public_key = secret_key.public();