fix gossip validation for duplicate blob sidecars (#4881)
`SignedBlobSidecar: already have blob with valid signature` is IGNORE in spec, but was implemented as REJECT. Align with spec.
This commit is contained in:
parent
55592db3b1
commit
bb62fee7d5
|
@ -289,7 +289,8 @@ proc validateBlobSidecar*(
|
|||
# [IGNORE] The sidecar is the only sidecar with valid signature
|
||||
# received for the tuple (sidecar.block_root, sidecar.index).
|
||||
if blobQuarantine[].hasBlob(sbs.message):
|
||||
return errReject("SignedBlobSidecar: already have blob with valid signature")
|
||||
return errIgnore(
|
||||
"SignedBlobSidecar: already have blob with valid signature")
|
||||
|
||||
ok()
|
||||
|
||||
|
|
Loading…
Reference in New Issue