diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-11-06 14:32:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-06 14:32:48 +0800 |
commit | e662353293b58637acc788a5c214a8904bb1cfcb (patch) | |
tree | 46d56a0c25dd5b96227ddbbc16892bee023bc360 /core/test/transport_test.go | |
parent | c537e964d9031a07c125a7225391e26827d9eb7a (diff) | |
download | dexon-consensus-e662353293b58637acc788a5c214a8904bb1cfcb.tar dexon-consensus-e662353293b58637acc788a5c214a8904bb1cfcb.tar.gz dexon-consensus-e662353293b58637acc788a5c214a8904bb1cfcb.tar.bz2 dexon-consensus-e662353293b58637acc788a5c214a8904bb1cfcb.tar.lz dexon-consensus-e662353293b58637acc788a5c214a8904bb1cfcb.tar.xz dexon-consensus-e662353293b58637acc788a5c214a8904bb1cfcb.tar.zst dexon-consensus-e662353293b58637acc788a5c214a8904bb1cfcb.zip |
core: Run DKG stuffs only if the node is in DKG set (#302)
Diffstat (limited to 'core/test/transport_test.go')
-rw-r--r-- | core/test/transport_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/test/transport_test.go b/core/test/transport_test.go index d5032cd..d5c4260 100644 --- a/core/test/transport_test.go +++ b/core/test/transport_test.go @@ -223,7 +223,7 @@ func (s *TransportTestSuite) TestFake() { }() } // Block here until we collect enough peers. - server.trans.WaitForPeers(peerCount) + server.trans.WaitForPeers(uint32(peerCount)) // Make sure all clients are ready. wg.Wait() s.baseTest(server, peers, 300*time.Millisecond) @@ -270,7 +270,7 @@ func (s *TransportTestSuite) TestTCPLocal() { }() } // Block here until we collect enough peers. - server.trans.WaitForPeers(peerCount) + server.trans.WaitForPeers(uint32(peerCount)) // Make sure all clients are ready. wg.Wait() |