Client and mixnode adjustments due to previous changes

This commit is contained in:
Jedrzej Stuczynski
2020-03-12 16:24:04 +00:00
parent 7143ab9b53
commit fe85fefb5b
4 changed files with 13 additions and 38 deletions
-4
View File
@@ -86,12 +86,8 @@ impl MixNode {
fn start_packet_forwarder(&mut self) -> mpsc::UnboundedSender<(SocketAddr, Vec<u8>)> {
info!("Starting packet forwarder...");
// this can later be replaced with topology information
let initial_addresses = vec![];
self.runtime
.block_on(packet_forwarding::PacketForwarder::new(
initial_addresses,
self.config.get_packet_forwarding_initial_backoff(),
self.config.get_packet_forwarding_maximum_backoff(),
))