close stream in test
This commit is contained in:
parent
cb02a50cd8
commit
568fa5a244
|
@ -1787,6 +1787,8 @@ type iwantEverything struct {
|
|||
}
|
||||
|
||||
func (iwe *iwantEverything) handleStream(s network.Stream) {
|
||||
defer s.Close()
|
||||
|
||||
os, err := iwe.h.NewStream(context.Background(), s.Conn().RemotePeer(), GossipSubID_v10)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Reference in New Issue