Skip to content

Commit

Permalink
fix: minor empty symbol check
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Aug 1, 2024
1 parent 875f787 commit 55cc15c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions node/pkg/dal/api/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ func (c *Hub) removeClient(client *ThreadSafeClient) {
func (c *Hub) initializeBroadcastChannels(collector *collector.Collector) {
for configId, stream := range collector.OutgoingStream {
symbol := c.configIdToSymbol(configId)
if symbol == "" {
continue
}

c.broadcast[symbol] = stream
}
}
Expand Down

0 comments on commit 55cc15c

Please sign in to comment.