From 5c9acfe40d025853ffba71e698388af6a9d75632 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Sat, 3 Nov 2018 22:56:32 +0800 Subject: test: disable standalone RPC server as BroadcastBlock currently cause forking --- dex/handler.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dex') diff --git a/dex/handler.go b/dex/handler.go index 00d2fb78c..68c682eda 100644 --- a/dex/handler.go +++ b/dex/handler.go @@ -1046,9 +1046,7 @@ func (pm *ProtocolManager) peerSetLoop() { for { select { - case event := <-pm.chainHeadCh: - pm.BroadcastBlock(event.Block, true) - + case <-pm.chainHeadCh: newRound := pm.gov.LenCRS() - 1 log.Trace("new round", "round", newRound) if newRound == round { -- cgit v1.2.3