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.
compile-with-beta-compiler
1 parent 5db1dff commit 6f0d0deCopy full SHA for 6f0d0de
consensus/types/src/light_client_bootstrap.rs
@@ -188,8 +188,6 @@ impl<E: EthSpec> LightClientBootstrap<E> {
188
block: &SignedBlindedBeaconBlock<E>,
189
chain_spec: &ChainSpec,
190
) -> Result<Self, Error> {
191
- let mut header = beacon_state.latest_block_header().clone();
192
- header.state_root = beacon_state.update_tree_hash_cache()?;
193
let current_sync_committee_branch = beacon_state.compute_current_sync_committee_proof()?;
194
let current_sync_committee = beacon_state.current_sync_committee()?.clone();
195
0 commit comments