Remove vestigial vote account configuration from fullnode-config

This commit is contained in:
Michael Vines
2019-01-09 00:16:14 -07:00
parent 56b6ed6730
commit 78d3b83900
3 changed files with 5 additions and 17 deletions

View File

@@ -17,9 +17,6 @@ pub struct Config {
/// Fullnode identity
pub identity_pkcs8: Vec<u8>,
/// Fullnode vote account
pub vote_account_pkcs8: Vec<u8>,
}
impl Config {
@@ -41,8 +38,4 @@ impl Config {
Keypair::from_pkcs8(Input::from(&self.identity_pkcs8))
.expect("from_pkcs8 in fullnode::Config keypair")
}
pub fn vote_account_keypair(&self) -> Keypair {
Keypair::from_pkcs8(Input::from(&self.vote_account_pkcs8))
.expect("from_pkcs8 in fullnode::Config vote_account_keypair")
}
}