diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-16 15:24:02 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:50 +0800 |
commit | fe80dc1710b433b49897c65d16f5d57595683c17 (patch) | |
tree | 7c9976c55832b567938fb1a45e4c2ab665186fb1 /dex/handler.go | |
parent | 17013051f2ece1924bd5fcdb46fb439671ee5dfd (diff) | |
download | dexon-fe80dc1710b433b49897c65d16f5d57595683c17.tar dexon-fe80dc1710b433b49897c65d16f5d57595683c17.tar.gz dexon-fe80dc1710b433b49897c65d16f5d57595683c17.tar.bz2 dexon-fe80dc1710b433b49897c65d16f5d57595683c17.tar.lz dexon-fe80dc1710b433b49897c65d16f5d57595683c17.tar.xz dexon-fe80dc1710b433b49897c65d16f5d57595683c17.tar.zst dexon-fe80dc1710b433b49897c65d16f5d57595683c17.zip |
hack: temp fix for running tests
Diffstat (limited to 'dex/handler.go')
-rw-r--r-- | dex/handler.go | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/dex/handler.go b/dex/handler.go index a6a3627ec..276dd433c 100644 --- a/dex/handler.go +++ b/dex/handler.go @@ -823,13 +823,7 @@ func (pm *ProtocolManager) BroadcastMetas(metas []*NodeMeta) { } func (pm *ProtocolManager) BroadcastVote(vote *coreTypes.Vote) { - label := peerLabel{ - set: notaryset, - chainID: vote.Position.ChainID, - round: vote.Position.Round, - } - - for _, peer := range pm.peers.PeersWithoutVote(rlpHash(vote), label) { + for _, peer := range pm.peers.allPeers() { peer.AsyncSendVote(vote) } } |