mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-10 14:34:24 +08:00
util keys need to be pointers for loggable
This commit is contained in:
@ -126,7 +126,7 @@ func (dht *IpfsDHT) Provide(ctx context.Context, key u.Key) error {
|
||||
}
|
||||
|
||||
func (dht *IpfsDHT) FindProvidersAsync(ctx context.Context, key u.Key, count int) <-chan peer.Peer {
|
||||
log.Event(ctx, "findProviders", key)
|
||||
log.Event(ctx, "findProviders", &key)
|
||||
peerOut := make(chan peer.Peer, count)
|
||||
go func() {
|
||||
ps := newPeerSet()
|
||||
|
Reference in New Issue
Block a user