Skip to content

Commit fb9a158

Browse files
authored
fix SSE single_attestation subscription (#7107)
1 parent ab82386 commit fb9a158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_chain/rpc/rest_event_api.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ proc installEventApiHandlers*(router: var RestRouter, node: BeaconNode) =
133133
let handler = response.eventHandler(node.eventBus.phase0AttestQueue,
134134
"attestation")
135135
res.add(handler)
136-
if EventTopic.Attestation in eventTopics:
136+
if EventTopic.SingleAttestation in eventTopics:
137137
let handler = response.eventHandler(node.eventBus.singleAttestQueue,
138138
"single_attestation")
139139
res.add(handler)

0 commit comments

Comments
 (0)