Skip to content

Commit

Permalink
Stop exiting early
Browse files Browse the repository at this point in the history
  • Loading branch information
IronGauntlets committed Nov 18, 2024
1 parent 71a5c07 commit 1798e14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rpc/subscriptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1798e14

Please sign in to comment.