diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-15 18:01:22 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-15 18:01:22 +0800 |
commit | 6ceb253f743ec0d2bdd9a676c7f365de2201470c (patch) | |
tree | d856a141df93719d98100c2cdd4bf2a08bcd7b2c /whisper/whisper_test.go | |
parent | 46ea193a49f60bb54cd5fc083adcc6fdf58dbdaf (diff) | |
download | dexon-6ceb253f743ec0d2bdd9a676c7f365de2201470c.tar dexon-6ceb253f743ec0d2bdd9a676c7f365de2201470c.tar.gz dexon-6ceb253f743ec0d2bdd9a676c7f365de2201470c.tar.bz2 dexon-6ceb253f743ec0d2bdd9a676c7f365de2201470c.tar.lz dexon-6ceb253f743ec0d2bdd9a676c7f365de2201470c.tar.xz dexon-6ceb253f743ec0d2bdd9a676c7f365de2201470c.tar.zst dexon-6ceb253f743ec0d2bdd9a676c7f365de2201470c.zip |
whisper: use async handshakes to handle blocking peers
Diffstat (limited to 'whisper/whisper_test.go')
-rw-r--r-- | whisper/whisper_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/whisper/whisper_test.go b/whisper/whisper_test.go index 35e2f0524..554a12cb1 100644 --- a/whisper/whisper_test.go +++ b/whisper/whisper_test.go @@ -21,7 +21,7 @@ func startTestCluster(n int) []*Whisper { } // Wire all the peers to the root one for i := 1; i < n; i++ { - src, dst := bufMsgPipe() + src, dst := p2p.MsgPipe() go whispers[0].handlePeer(nodes[i], src) go whispers[i].handlePeer(nodes[0], dst) |