mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-31 13:17:09 +00:00
FIX CHECKPOINT SYNC
This commit is contained in:
@@ -3254,9 +3254,8 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
AvailabilityProcessingStatus::Imported(block_root) => {
|
||||
// Import the envelope if one was provided (Gloas+).
|
||||
if let Some(envelope) = envelope
|
||||
&& let Err(e) = self.import_envelope_from_range_sync(
|
||||
*envelope, block_root,
|
||||
)
|
||||
&& let Err(e) =
|
||||
self.import_envelope_from_range_sync(*envelope, block_root)
|
||||
{
|
||||
return ChainSegmentResult::Failed {
|
||||
imported_blocks,
|
||||
|
||||
Reference in New Issue
Block a user