We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 341eeea + 6f0d0de commit 3bfdfa5Copy full SHA for 3bfdfa5
consensus/types/src/light_client_bootstrap.rs
@@ -200,8 +200,6 @@ impl<E: EthSpec> LightClientBootstrap<E> {
200
block: &SignedBlindedBeaconBlock<E>,
201
chain_spec: &ChainSpec,
202
) -> Result<Self, Error> {
203
- let mut header = beacon_state.latest_block_header().clone();
204
- header.state_root = beacon_state.update_tree_hash_cache()?;
205
let current_sync_committee_branch = beacon_state.compute_current_sync_committee_proof()?;
206
let current_sync_committee = beacon_state.current_sync_committee()?.clone();
207
0 commit comments