File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
beacon_node/beacon_chain/src Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -266,16 +266,6 @@ pub enum Error {
266
266
attestation : Hash256 ,
267
267
expected : Option < Hash256 > ,
268
268
} ,
269
- /// The attestation conflicts with finalization, no need to propagate.
270
- ///
271
- /// ## Peer scoring
272
- ///
273
- /// It's unclear if this attestation is valid, but it conflicts with finality and shouldn't be
274
- /// propogated.
275
- NotFinalizedDescendant {
276
- attestation_block_root : Hash256 ,
277
- attestation_slot : Slot ,
278
- } ,
279
269
/// There was an error whilst processing the attestation. It is not known if it is valid or invalid.
280
270
///
281
271
/// ## Peer scoring
@@ -1391,9 +1381,8 @@ fn verify_attestation_is_finalized_checkpoint_or_descendant<T: BeaconChainTypes>
1391
1381
{
1392
1382
Ok ( ( ) )
1393
1383
} else {
1394
- Err ( Error :: NotFinalizedDescendant {
1384
+ Err ( Error :: HeadBlockFinalized {
1395
1385
attestation_block_root,
1396
- attestation_slot : attestation. data ( ) . slot ,
1397
1386
} )
1398
1387
}
1399
1388
}
You can’t perform that action at this time.
0 commit comments