mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-23 19:37:46 +08:00
fix argument placement on log message
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
This commit is contained in:
parent
ce8c8a7a71
commit
a68f9d090a
@ -109,7 +109,7 @@ func (pm *WantManager) SendBlock(ctx context.Context, env *engine.Envelope) {
|
||||
|
||||
msg := bsmsg.New(false)
|
||||
msg.AddBlock(env.Block)
|
||||
log.Infof("Sending block %s to %s", env.Peer, env.Block)
|
||||
log.Infof("Sending block %s to %s", env.Block, env.Peer)
|
||||
err := pm.network.SendMessage(ctx, env.Peer, msg)
|
||||
if err != nil {
|
||||
log.Infof("sendblock error: %s", err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user