update default count to 1

This commit is contained in:
Tyler Sturos 2026-02-19 17:56:40 -09:00
parent 1b935dbcf4
commit f7ae4902a2

View File

@ -890,7 +890,7 @@ func (b *BlossomSub) background(ctx context.Context) {
func (b *BlossomSub) checkAndReconnectPeers(ctx context.Context) {
peerCount := len(b.h.Network().Peers())
if peerCount > 0 {
if peerCount > 1 {
return
}