Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchinchilla committed Mar 12, 2024
1 parent faa5b97 commit 7e1cfe2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions binaries/geph5-exit/src/listen.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use anyhow::Context;
use ed25519_dalek::Signer;
use ed25519_dalek::{Signer, VerifyingKey};
use futures_util::{AsyncReadExt, TryFutureExt};
use geph5_broker_protocol::{BrokerClient, ExitDescriptor, Mac, Signed, DOMAIN_EXIT_DESCRIPTOR};
use geph5_misc_rpc::{
Expand Down Expand Up @@ -42,9 +42,14 @@ async fn broker_loop() -> anyhow::Result<()> {
)
.trim(),
)?;
let my_pubkey: VerifyingKey = (&*SIGNING_SECRET).into();
tracing::info!(
my_ip = display(my_ip),
my_pubkey = display(hex::encode(SIGNING_SECRET.as_bytes())),
c2e_direct = format!(
"{}:{}/{}",
my_ip,
CONFIG_FILE.wait().c2e_listen.port(),
hex::encode(my_pubkey.as_bytes())
),
"listen information gotten"
);
match &CONFIG_FILE.wait().broker {
Expand Down

0 comments on commit 7e1cfe2

Please sign in to comment.