Re-enable signature checking for validations
This commit is contained in:
parent
a1cdc0402d
commit
48801e4674
@ -53,8 +53,6 @@ impl BeaconState {
|
|||||||
spec: &ChainSpec,
|
spec: &ChainSpec,
|
||||||
verify_signature: bool,
|
verify_signature: bool,
|
||||||
) -> Result<(), Error> {
|
) -> Result<(), Error> {
|
||||||
// TODO: IMPORTANT: enable signature verification
|
|
||||||
let verify_signature = false;
|
|
||||||
ensure!(
|
ensure!(
|
||||||
attestation.data.slot + spec.min_attestation_inclusion_delay <= self.slot,
|
attestation.data.slot + spec.min_attestation_inclusion_delay <= self.slot,
|
||||||
Error::IncludedTooEarly
|
Error::IncludedTooEarly
|
||||||
|
Loading…
Reference in New Issue
Block a user