mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 05:48:31 +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
|
"state_root" => ?state_root
|
||||||
);
|
);
|
||||||
let mut state = remote
|
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
|
.await
|
||||||
.map_err(|e| {
|
.map_err(|e| {
|
||||||
format!(
|
format!(
|
||||||
|
|||||||
Reference in New Issue
Block a user