Skip to content

Commit 3bfdfa5

Browse files
committed
Merge remote-tracking branch 'origin/release-v8.0' into unstable
2 parents 341eeea + 6f0d0de commit 3bfdfa5

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
@@ -200,8 +200,6 @@ impl<E: EthSpec> LightClientBootstrap<E> {
200200
block: &SignedBlindedBeaconBlock<E>,
201201
chain_spec: &ChainSpec,
202202
) -> Result<Self, Error> {
203-
let mut header = beacon_state.latest_block_header().clone();
204-
header.state_root = beacon_state.update_tree_hash_cache()?;
205203
let current_sync_committee_branch = beacon_state.compute_current_sync_committee_proof()?;
206204
let current_sync_committee = beacon_state.current_sync_committee()?.clone();
207205

0 commit comments

Comments
 (0)