mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 13:58:09 -05:00
Need to ignore in progress cache while disabled (#3109)
This commit is contained in:
4
beacon-chain/cache/attestation_data.go
vendored
4
beacon-chain/cache/attestation_data.go
vendored
@@ -123,7 +123,9 @@ func (c *AttestationCache) MarkInProgress(req *pb.AttestationRequest) error {
|
||||
if c.inProgress[s] {
|
||||
return ErrAlreadyInProgress
|
||||
}
|
||||
c.inProgress[s] = true
|
||||
if featureconfig.FeatureConfig().EnableAttestationCache {
|
||||
c.inProgress[s] = true
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user