Using the node socket address to send to the directory server

This commit is contained in:
Dave Hrycyszyn
2019-12-16 13:54:20 +00:00
parent efb900a538
commit ab02eec824
+1 -1
View File
@@ -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,