Re-enable signature checking for validations

This commit is contained in:
Paul Hauner 2019-01-31 16:42:31 +11:00
parent a1cdc0402d
commit 48801e4674
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -53,8 +53,6 @@ impl BeaconState {
spec: &ChainSpec,
verify_signature: bool,
) -> Result<(), Error> {
// TODO: IMPORTANT: enable signature verification
let verify_signature = false;
ensure!(
attestation.data.slot + spec.min_attestation_inclusion_delay <= self.slot,
Error::IncludedTooEarly