fix(beacon-chain/rpc): blob_sidecar event stream handler (#12999)

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
This commit is contained in:
Andrew Davis 2023-10-13 23:51:16 +10:00 committed by GitHub
parent 806a394c89
commit be9b6ea837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,6 +313,8 @@ func receiveEvents(eventChan <-chan *sse.Event, w http.ResponseWriter, req *http
default:
return apimiddleware.InternalServerError(errors.New("payload version unsupported"))
}
case events.BlobSidecarTopic:
data = &BlobSidecarJson{}
case "error":
data = &EventErrorJson{}
default: