mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-09 23:42:20 +08:00
core/bootstrap: CR comments
This commit is contained in:
@ -128,6 +128,7 @@ func (dht *IpfsDHT) runBootstrap(ctx context.Context, queries int) error {
|
||||
// the dht will rehash to its own keyspace anyway.
|
||||
id := make([]byte, 16)
|
||||
rand.Read(id)
|
||||
id = u.Hash(id)
|
||||
return peer.ID(id)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user