From 1798e14eedc5eb73ef2fd6648101c88598a917c4 Mon Sep 17 00:00:00 2001 From: IronGauntlets Date: Mon, 18 Nov 2024 14:55:21 +0000 Subject: [PATCH] Stop exiting early --- rpc/subscriptions.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rpc/subscriptions.go b/rpc/subscriptions.go index 4fe88f21dc..26c64ab215 100644 --- a/rpc/subscriptions.go +++ b/rpc/subscriptions.go @@ -170,7 +170,9 @@ func sendEvents(ctx context.Context, w jsonrpc.Conn, events []*blockchain.Filter } _, err = w.Write(resp) - return err + if err != nil { + return err + } } } return nil