From 2fd0d430c87d1a2c66abb6945d531e821d461c4f Mon Sep 17 00:00:00 2001 From: vyzo Date: Mon, 26 Oct 2020 15:49:24 +0200 Subject: [PATCH] set BootstrapPeerThreshold to 1, to mimic old code which incidentally fixes tests --- chain/sync_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/sync_manager.go b/chain/sync_manager.go index a29331462..0d005be2d 100644 --- a/chain/sync_manager.go +++ b/chain/sync_manager.go @@ -13,7 +13,7 @@ import ( peer "github.com/libp2p/go-libp2p-core/peer" ) -var BootstrapPeerThreshold = 2 +var BootstrapPeerThreshold = 1 var coalesceForksParents = false