mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-05 13:54:36 +00:00
Refactor Custody Context Availability Checks (#9515)
Co-Authored-By: Mark Mackey <mark@sigmaprime.io>
This commit is contained in:
@@ -855,9 +855,8 @@ pub fn post_validator_prepare_beacon_proposer<T: BeaconChainTypes>(
|
||||
let current_slot =
|
||||
chain.slot().map_err(warp_utils::reject::unhandled_error)?;
|
||||
if let Some(cgc_change) = chain
|
||||
.data_availability_checker
|
||||
.custody_context()
|
||||
.register_validators(validators_and_balances, current_slot, &chain.spec)
|
||||
.custody_context
|
||||
.register_validators(validators_and_balances, current_slot)
|
||||
{
|
||||
chain.update_data_column_custody_info(Some(
|
||||
cgc_change
|
||||
|
||||
Reference in New Issue
Block a user