From ab02eec82424d42def186944aafab0bb2c26016d Mon Sep 17 00:00:00 2001 From: Dave Hrycyszyn Date: Mon, 16 Dec 2019 13:54:20 +0000 Subject: [PATCH] Using the node socket address to send to the directory server --- src/node/presence.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/presence.rs b/src/node/presence.rs index 3e837c33b9..c2acff1fc2 100644 --- a/src/node/presence.rs +++ b/src/node/presence.rs @@ -18,7 +18,7 @@ impl Notifier { }; let net_client = directory::Client::new(config); let presence = MixNodePresence { - host: "localhost:6666".to_string(), // send dummy address as the directory server formats the real incoming IP. + host: node_config.socket_address.to_string(), // note: the directory server formats the real incoming IP itself pub_key: node_config.public_key_string(), layer: 666, last_seen: 666,