mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-09 11:10:04 +00:00
query for checkpoint state by slot rather than state root (teku doesn't serve by state root)
This commit is contained in:
@@ -371,7 +371,7 @@ where
|
||||
"state_root" => ?state_root
|
||||
);
|
||||
let mut state = remote
|
||||
.get_debug_beacon_states_ssz::<TEthSpec>(StateId::Root(state_root), &spec)
|
||||
.get_debug_beacon_states_ssz::<TEthSpec>(StateId::Slot(block.slot()), &spec)
|
||||
.await
|
||||
.map_err(|e| {
|
||||
format!(
|
||||
|
||||
Reference in New Issue
Block a user