mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Re-enable signature checking for validations
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user