Skip to content

Commit

Permalink
Merge pull request #771 from Jorropo/patch-1
Browse files Browse the repository at this point in the history
fix: incorrect format handling
  • Loading branch information
Stebalien authored May 15, 2022
2 parents f056971 + e534875 commit 6a75b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ func (dht *IpfsDHT) handleAddProvider(ctx context.Context, p peer.ID, pmes *pb.M
return nil, fmt.Errorf("handleAddProvider key is empty")
}

logger.Debugf("adding provider", "from", p, "key", internal.LoggableProviderRecordBytes(key))
logger.Debugw("adding provider", "from", p, "key", internal.LoggableProviderRecordBytes(key))

// add provider should use the address given in the message
pinfos := pb.PBPeersToPeerInfos(pmes.GetProviderPeers())
Expand Down

0 comments on commit 6a75b59

Please sign in to comment.