diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-03 22:56:32 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 3f26b8212cf13a090d55dfc228a343af733acbad (patch) | |
tree | c8ff7fc7a09a73d793200bffa9661c1ba97eaf4d /dex | |
parent | e552233512e0ccb1e296144d5446e2bb5b31212c (diff) | |
download | dexon-3f26b8212cf13a090d55dfc228a343af733acbad.tar.gz dexon-3f26b8212cf13a090d55dfc228a343af733acbad.tar.zst dexon-3f26b8212cf13a090d55dfc228a343af733acbad.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 { |