mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 10:52:43 +00:00
Implement tree states & hierarchical state DB
This commit is contained in:
@@ -234,7 +234,7 @@ pub fn process_block_header<T: EthSpec>(
|
||||
|
||||
// Verify proposer is not slashed
|
||||
verify!(
|
||||
!state.get_validator(proposer_index as usize)?.slashed,
|
||||
!state.get_validator(proposer_index as usize)?.slashed(),
|
||||
HeaderInvalid::ProposerSlashed(proposer_index)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user