Validate attestation: fix error log (#6874)

* attestation: fix  error log
This commit is contained in:
terence tsao 2020-08-04 11:37:35 -07:00 committed by GitHub
parent daedb7411c
commit ef69ac4496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,7 @@ func ValidateAttestationTime(attSlot uint64, genesisTime time.Time) error {
return fmt.Errorf(
"attestation slot %d not within attestation propagation range of %d to %d (current slot)",
attSlot,
currentSlot-params.BeaconNetworkConfig().AttestationPropagationSlotRange,
lowerBoundsSlot,
currentSlot,
)
}