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.
1 parent e99ba3a commit 33c1cfaCopy full SHA for 33c1cfa
beacon_node/http_api/src/state_id.rs
@@ -89,9 +89,7 @@ impl StateId {
89
} else {
90
// This block is either old and finalized, or recent and unfinalized, so
91
// it's safe to fallback to the optimistic status of the finalized block.
92
- chain
93
- .canonical_head
94
- .fork_choice_read_lock()
+ fork_choice
95
.is_optimistic_or_invalid_block(&hot_summary.latest_block_root)
96
.map_err(BeaconChainError::ForkChoiceError)
97
.map_err(warp_utils::reject::beacon_chain_error)?
0 commit comments