From 498417a8fc624a31b8015acea8a46c61582486d7 Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Wed, 4 Dec 2019 15:09:47 -0800 Subject: [PATCH] Wait for 3 peers to start sync (#4194) * Update service.go --- beacon-chain/sync/initial-sync/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon-chain/sync/initial-sync/service.go b/beacon-chain/sync/initial-sync/service.go index 03e64d038..c5f695088 100644 --- a/beacon-chain/sync/initial-sync/service.go +++ b/beacon-chain/sync/initial-sync/service.go @@ -25,7 +25,7 @@ type blockchainService interface { } const ( - minStatusCount = 1 // TODO(3147): Set this to more than 1, maybe configure from flag? + minStatusCount = 3 // TODO(3147): Set this to more than 3, maybe configure from flag? handshakePollingInterval = 5 * time.Second // Polling interval for checking the number of received handshakes. )