1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 09:52:20 +08:00

util keys need to be pointers for loggable

This commit is contained in:
Jeromy
2014-12-03 19:51:17 +00:00
parent 6552163740
commit 260ace7f81

View File

@ -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()