From eb07a53ccc50f7332959c1c70876b961429f3935 Mon Sep 17 00:00:00 2001 From: Kishan Sagathiya Date: Mon, 21 Feb 2022 14:27:33 +0530 Subject: [PATCH] fix(dot/network): fixing errMissingHandshakeMutex (#2303) --- dot/network/notifications.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot/network/notifications.go b/dot/network/notifications.go index b4d838dcbf..401ef4b069 100644 --- a/dot/network/notifications.go +++ b/dot/network/notifications.go @@ -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) } }