remove absolute dependence on topology

This commit is contained in:
Simon Wicky
2023-07-28 12:09:13 +02:00
parent 9e3bb6ef24
commit 331a0328c7
8 changed files with 146 additions and 95 deletions
+6 -2
View File
@@ -164,7 +164,7 @@ impl MixNode {
packet_processor,
delay_forwarding_channel,
topology_access,
&self.sphinx_keypair,
Arc::clone(&self.sphinx_keypair),
);
let listening_address = SocketAddr::new(
@@ -192,7 +192,11 @@ impl MixNode {
);
let mut packet_forwarder = DelayForwarder::new(
nym_mixnet_client::Client::new(client_config, topology_access, &self.sphinx_keypair),
nym_mixnet_client::Client::new(
client_config,
topology_access,
Arc::clone(&self.sphinx_keypair),
),
node_stats_update_sender,
shutdown,
);