Description
The kzg field of the BeaconChain is unnecessarily wrapped in an Option.
|
/// The KZG trusted setup used by this chain. |
|
pub kzg: Option<Arc<Kzg>>, |
Removing this would simplify some error handling because we don't need to handle the case where the kzg setup is not initialized.
Version
Lighthouse v5.3.0
Description
The
kzgfield of theBeaconChainis unnecessarily wrapped in anOption.lighthouse/beacon_node/beacon_chain/src/beacon_chain.rs
Lines 493 to 494 in d6ba8c3
Removing this would simplify some error handling because we don't need to handle the case where the
kzgsetup is not initialized.Version
Lighthouse v5.3.0