mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 19:46:50 +00:00
Get rid of unused overlord.private_key
This commit is contained in:
parent
1b8ea9d447
commit
0fba9d4588
@ -29,9 +29,6 @@ pub struct Overlord {
|
|||||||
|
|
||||||
// Vec of urls our minions are handling
|
// Vec of urls our minions are handling
|
||||||
urls_watching: Vec<Url>,
|
urls_watching: Vec<Url>,
|
||||||
|
|
||||||
#[allow(dead_code)]
|
|
||||||
private_key: Option<PrivateKey>, // note that PrivateKey already zeroizes on drop
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Overlord {
|
impl Overlord {
|
||||||
@ -43,7 +40,6 @@ impl Overlord {
|
|||||||
minions: task::JoinSet::new(),
|
minions: task::JoinSet::new(),
|
||||||
minions_task_url: HashMap::new(),
|
minions_task_url: HashMap::new(),
|
||||||
urls_watching: Vec::new(),
|
urls_watching: Vec::new(),
|
||||||
private_key: None,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user