Skip to content

Commit ff995b8

Browse files
authored
Merge of #8317
2 parents 5db1dff + c04eccc commit ff995b8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

consensus/types/src/light_client_bootstrap.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ impl<E: EthSpec> LightClientBootstrap<E> {
188188
block: &SignedBlindedBeaconBlock<E>,
189189
chain_spec: &ChainSpec,
190190
) -> Result<Self, Error> {
191-
let mut header = beacon_state.latest_block_header().clone();
192-
header.state_root = beacon_state.update_tree_hash_cache()?;
193191
let current_sync_committee_branch = beacon_state.compute_current_sync_committee_proof()?;
194192
let current_sync_committee = beacon_state.current_sync_committee()?.clone();
195193

0 commit comments

Comments
 (0)