mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
spec v0.6: update beacon_node, validator_client
This commit is contained in:
@@ -115,7 +115,9 @@ impl<T: BeaconChainTypes> ValidatorService for ValidatorServiceInstance<T> {
|
||||
};
|
||||
|
||||
// get attestation duties and check if validator is active
|
||||
let attestation_duties = match state.get_attestation_duties(val_index, &spec) {
|
||||
let attestation_duties = match state
|
||||
.get_attestation_duties(val_index, RelativeEpoch::Current)
|
||||
{
|
||||
Ok(Some(v)) => v,
|
||||
Ok(_) => {
|
||||
// validator is inactive, go to the next validator
|
||||
|
||||
Reference in New Issue
Block a user