Skip to content

Commit 679af20

Browse files
Merge pull request #3203 from ipfs/fix/dht-newstream-proto
dht: add missing protocol ID to newStream call
2 parents e30576d + fddfb74 commit 679af20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing/dht/dht_net.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func (ms *messageSender) prep() error {
141141
return nil
142142
}
143143

144-
nstr, err := ms.dht.host.NewStream(ms.dht.ctx, ms.p, ProtocolDHT)
144+
nstr, err := ms.dht.host.NewStream(ms.dht.ctx, ms.p, ProtocolDHT, ProtocolDHTOld)
145145
if err != nil {
146146
return err
147147
}

0 commit comments

Comments
 (0)