mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-20 16:06:00 -04:00
Print Alice peer id when starting swap as Alice
In the current setup Bob dials Alice, and thus requires her peer id.
This commit is contained in:
parent
3e60a514c4
commit
708988b5c2
@ -64,6 +64,11 @@ async fn main() -> Result<()> {
|
||||
info!("running swap node as Alice ...");
|
||||
|
||||
let behaviour = alice::Behaviour::default();
|
||||
let alice_peer_id = behaviour.peer_id().clone();
|
||||
info!(
|
||||
"Alice Peer ID (to be used by Bob to dial her): {}",
|
||||
alice_peer_id
|
||||
);
|
||||
let local_key_pair = behaviour.identity();
|
||||
|
||||
let (listen_addr, _ac, transport) = match tor_port {
|
||||
|
Loading…
x
Reference in New Issue
Block a user