提交 679af205 作者: Jeromy Johnson 提交者: GitHub

Merge pull request #3203 from ipfs/fix/dht-newstream-proto

dht: add missing protocol ID to newStream call
......@@ -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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论