p2p: fixes for actual connections
The unit test hooks were turned on 'in production'.
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user