Skip to content

Commit

Permalink
fix disconnect non-swap node log (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralph-pichler authored Oct 6, 2020
1 parent c9ff122 commit 2918ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/settlement/swap/swap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2918ec2

Please sign in to comment.