Commit 9e32f1a2 authored by Jeromy's avatar Jeromy

dht: add missing protocol ID to newStream call

License: MIT
Signed-off-by: default avatarJeromy <why@ipfs.io>
parent 31155ef6
......@@ -141,7 +141,7 @@ func (ms *messageSender) prep() error {
return nil
}
nstr, err := ms.dht.host.NewStream(ms.dht.ctx, ms.p, ProtocolDHT)
nstr, err := ms.dht.host.NewStream(ms.dht.ctx, ms.p, ProtocolDHT, ProtocolDHTOld)
if err != nil {
return err
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment