Skip to content

Commit

Permalink
fix(dot/network): fixing errMissingHandshakeMutex (#2303)
Browse files Browse the repository at this point in the history
  • Loading branch information
kishansagathiya committed Feb 21, 2022
1 parent f4f7465 commit eb07a53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dot/network/notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ func (s *Service) broadcastExcluding(info *notificationsProtocol, excluding peer
continue
}

info.outboundHandshakeMutexes.Store(peer, new(sync.Mutex))

go s.sendData(peer, hs, info, msg)
}
}
Expand Down

0 comments on commit eb07a53

Please sign in to comment.