Skip to content

Commit

Permalink
fix: add missing init
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Aug 1, 2024
1 parent 28003f9 commit 875f787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/pkg/dal/api/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ func HubSetup(ctx context.Context, configs []types.Config) *Hub {

func NewHub(configs map[string]types.Config) *Hub {
return &Hub{
configs: configs,

configs: configs,
clients: make(map[*ThreadSafeClient]map[string]bool),
register: make(chan *ThreadSafeClient),
unregister: make(chan *ThreadSafeClient),
broadcast: make(map[string]chan dalcommon.OutgoingSubmissionData),
Expand Down

0 comments on commit 875f787

Please sign in to comment.