mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 10:22:38 +00:00
Fix some BeaconState API changes in state proc.
This commit is contained in:
@@ -14,7 +14,7 @@ pub fn slash_validator<T: EthSpec>(
|
||||
return Err(BeaconStateError::UnknownValidator);
|
||||
}
|
||||
|
||||
let current_epoch = state.current_epoch(spec);
|
||||
let current_epoch = state.current_epoch();
|
||||
|
||||
initiate_validator_exit(state, slashed_index, spec)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user