mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 01:12:24 +08:00
dht: debug dont cast Key as peer.ID
This commit is contained in:
@ -206,7 +206,7 @@ type providerInfo struct {
|
||||
func (dht *IpfsDHT) handleAddProvider(ctx context.Context, p peer.ID, pmes *pb.Message) (*pb.Message, error) {
|
||||
key := u.Key(pmes.GetKey())
|
||||
|
||||
log.Debugf("%s adding %s as a provider for '%s'\n", dht.self, p, peer.ID(key))
|
||||
log.Debugf("%s adding %s as a provider for '%s'\n", dht.self, p, key)
|
||||
|
||||
// add provider should use the address given in the message
|
||||
pinfos := pb.PBPeersToPeerInfos(pmes.GetProviderPeers())
|
||||
|
Reference in New Issue
Block a user