Skip to content

Commit

Permalink
Remove the old DHT protocol from the defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
anacrolix committed Mar 14, 2019
1 parent 77d3fb1 commit 4190960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opts/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var (
// Deprecated: The old format did not support more than one message per stream, and is not
// supported or relevant with stream pooling. ProtocolDHT should be used instead.
ProtocolDHTOld protocol.ID = "/ipfs/dht"
DefaultProtocols = []protocol.ID{ProtocolDHT, ProtocolDHTOld}
DefaultProtocols = []protocol.ID{ProtocolDHT}
)

// Options is a structure containing all the options that can be used when constructing a DHT.
Expand Down

0 comments on commit 4190960

Please sign in to comment.