Remove unused id field
This commit is contained in:
committed by
mergify[bot]
parent
f2ce5f6c82
commit
4a3ab77baf
@ -252,7 +252,6 @@ struct TransactionHistoryServices {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub struct Validator {
|
pub struct Validator {
|
||||||
pub id: Pubkey,
|
|
||||||
validator_exit: Arc<RwLock<ValidatorExit>>,
|
validator_exit: Arc<RwLock<ValidatorExit>>,
|
||||||
json_rpc_service: Option<JsonRpcService>,
|
json_rpc_service: Option<JsonRpcService>,
|
||||||
pubsub_service: Option<PubSubService>,
|
pubsub_service: Option<PubSubService>,
|
||||||
@ -748,7 +747,6 @@ impl Validator {
|
|||||||
datapoint_info!("validator-new", ("id", id.to_string(), String));
|
datapoint_info!("validator-new", ("id", id.to_string(), String));
|
||||||
*start_progress.write().unwrap() = ValidatorStartProgress::Running;
|
*start_progress.write().unwrap() = ValidatorStartProgress::Running;
|
||||||
Self {
|
Self {
|
||||||
id,
|
|
||||||
gossip_service,
|
gossip_service,
|
||||||
serve_repair_service,
|
serve_repair_service,
|
||||||
json_rpc_service,
|
json_rpc_service,
|
||||||
|
Reference in New Issue
Block a user