diff --git a/pkg/settlement/swap/swap.go b/pkg/settlement/swap/swap.go index 969254b5c9d..d2670a45fb2 100644 --- a/pkg/settlement/swap/swap.go +++ b/pkg/settlement/swap/swap.go @@ -112,7 +112,7 @@ func (s *Service) Pay(ctx context.Context, peer swarm.Address, amount uint64) er return err } if !known { - s.logger.Warning("disconnecting non-swap peer %v", peer) + s.logger.Warningf("disconnecting non-swap peer %v", peer) err = s.p2pService.Disconnect(peer) if err != nil { return err