remove unnecessary field
This commit is contained in:
parent
f2e3a02306
commit
a9bdab28d3
|
@ -17,7 +17,6 @@ pub struct MixNode {
|
||||||
}
|
}
|
||||||
|
|
||||||
struct MixNodeRunner {
|
struct MixNodeRunner {
|
||||||
_config: MixNodeConfig,
|
|
||||||
encryption_private_key: PrivateKey,
|
encryption_private_key: PrivateKey,
|
||||||
poisson: Poisson,
|
poisson: Poisson,
|
||||||
packet_queue: mpsc::Receiver<PacketBody>,
|
packet_queue: mpsc::Receiver<PacketBody>,
|
||||||
|
@ -50,7 +49,6 @@ impl MixNode {
|
||||||
let (output_tx, output_rx) = mpsc::unbounded_channel();
|
let (output_tx, output_rx) = mpsc::unbounded_channel();
|
||||||
|
|
||||||
let mixnode_runner = MixNodeRunner {
|
let mixnode_runner = MixNodeRunner {
|
||||||
_config: config,
|
|
||||||
encryption_private_key,
|
encryption_private_key,
|
||||||
poisson,
|
poisson,
|
||||||
packet_queue: packet_rx,
|
packet_queue: packet_rx,
|
||||||
|
|
Loading…
Reference in New Issue