From ef69ac4496b5df3e81d2d0ffcfd74a22e699d236 Mon Sep 17 00:00:00 2001 From: terence tsao Date: Tue, 4 Aug 2020 11:37:35 -0700 Subject: [PATCH] Validate attestation: fix error log (#6874) * attestation: fix error log --- beacon-chain/core/helpers/attestation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon-chain/core/helpers/attestation.go b/beacon-chain/core/helpers/attestation.go index cc13e4263..f7fe0cabc 100644 --- a/beacon-chain/core/helpers/attestation.go +++ b/beacon-chain/core/helpers/attestation.go @@ -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, ) }