Remove unnecessary erasure config references (#5809)
This commit is contained in:
@@ -7,7 +7,6 @@ use crate::broadcast_stage::BroadcastStageType;
|
||||
use crate::cluster_info::{ClusterInfo, Node};
|
||||
use crate::confidence::ForkConfidenceCache;
|
||||
use crate::contact_info::ContactInfo;
|
||||
use crate::erasure::ErasureConfig;
|
||||
use crate::gossip_service::{discover_cluster, GossipService};
|
||||
use crate::leader_schedule_cache::LeaderScheduleCache;
|
||||
use crate::poh_recorder::PohRecorder;
|
||||
@@ -49,7 +48,6 @@ pub struct ValidatorConfig {
|
||||
pub snapshot_config: Option<SnapshotConfig>,
|
||||
pub max_ledger_slots: Option<u64>,
|
||||
pub broadcast_stage_type: BroadcastStageType,
|
||||
pub erasure_config: ErasureConfig,
|
||||
}
|
||||
|
||||
impl Default for ValidatorConfig {
|
||||
@@ -66,7 +64,6 @@ impl Default for ValidatorConfig {
|
||||
rpc_config: JsonRpcConfig::default(),
|
||||
snapshot_config: None,
|
||||
broadcast_stage_type: BroadcastStageType::Standard,
|
||||
erasure_config: ErasureConfig::default(),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -337,7 +334,6 @@ impl Validator {
|
||||
config.dev_sigverify_disabled,
|
||||
&blocktree,
|
||||
&config.broadcast_stage_type,
|
||||
&config.erasure_config,
|
||||
&exit,
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user