message: Validate the signatures for the last block in a sync leap while creating it
diff: @@ -1907,10 +1907,26 @@ impl Storage {
  switch_block = block.block_header.clone();
  result.push(block);
  } else {
  - return Ok(None);
  + return Ok(Some(result));
  }
  }
  +
  + let next_era_validator_weights = match switch_block.next_era_validator_weights() {
  + Some(next_era_validator_weights) => next_era_validator_weights,
  + None => return Ok(None),
  + };
  +
  + if utils::check_sufficient_block_signatures(
  + next_era_validator_weights,
  + self.fault_tolerance_fraction,
  + Some(&highest_signed_block_header.block_signatures),
  + )
  + .is_ok()
  + {
  result.push(highest_signed_block_header.clone());
  + } else {
  + return Ok(Some(result));
  + }
  Ok(Some(result))
  }
  