diff options
author | Felix Lange <fjl@twurst.com> | 2015-02-07 07:13:22 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-02-07 07:43:52 +0800 |
commit | e34d1341022a51d8a86c4836c91e4e0ded888d27 (patch) | |
tree | 35dacd9390e6181803329f8c5c7d1cb076ba0128 /p2p/server_test.go | |
parent | 8564eb9f7efcc7a0e639f6a45d7e67037fedac5f (diff) | |
download | dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar.gz dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.tar.zst dexon-e34d1341022a51d8a86c4836c91e4e0ded888d27.zip |
p2p: fixes for actual connections
The unit test hooks were turned on 'in production'.
Diffstat (limited to 'p2p/server_test.go')
-rw-r--r-- | p2p/server_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/p2p/server_test.go b/p2p/server_test.go index 89300cf1c..d1e1640fb 100644 --- a/p2p/server_test.go +++ b/p2p/server_test.go @@ -118,6 +118,7 @@ func TestServerBroadcast(t *testing.T) { srv := startTestServer(t, func(p *Peer) { p.protocols = []Protocol{discard} p.startSubprotocols([]Cap{discard.cap()}) + p.noHandshake = true connected.Done() }) defer srv.Stop() |