diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-03 22:56:32 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:52 +0800 |
commit | cd9dfe29e85ee8352198044fc0fa7deba337f95f (patch) | |
tree | 03960a9e9f5b1ad9ced9f04c307c2e8bbd59d82d /dex | |
parent | e7f80a566b38c906b0a6fb5e8d60d0e68e3a510e (diff) | |
download | dexon-cd9dfe29e85ee8352198044fc0fa7deba337f95f.tar dexon-cd9dfe29e85ee8352198044fc0fa7deba337f95f.tar.gz dexon-cd9dfe29e85ee8352198044fc0fa7deba337f95f.tar.bz2 dexon-cd9dfe29e85ee8352198044fc0fa7deba337f95f.tar.lz dexon-cd9dfe29e85ee8352198044fc0fa7deba337f95f.tar.xz dexon-cd9dfe29e85ee8352198044fc0fa7deba337f95f.tar.zst dexon-cd9dfe29e85ee8352198044fc0fa7deba337f95f.zip |
test: disable standalone RPC server as BroadcastBlock currently cause forking
Diffstat (limited to 'dex')
-rw-r--r-- | dex/handler.go | 4 |
1 files changed, 1 insertions, 3 deletions
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 { |