Skip to content

Commit eb07a53

Browse files
fix(dot/network): fixing errMissingHandshakeMutex (#2303)
1 parent f4f7465 commit eb07a53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dot/network/notifications.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,8 @@ func (s *Service) broadcastExcluding(info *notificationsProtocol, excluding peer
419419
continue
420420
}
421421

422+
info.outboundHandshakeMutexes.Store(peer, new(sync.Mutex))
423+
422424
go s.sendData(peer, hs, info, msg)
423425
}
424426
}

0 commit comments

Comments
 (0)