Skip to content

Commit

Permalink
fix: log fixes (#3482)
Browse files Browse the repository at this point in the history
  • Loading branch information
istae committed Nov 2, 2022
1 parent 2eff82c commit 5f61be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/p2p/libp2p/libp2p.go
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ func (s *Service) Blocklist(overlay swarm.Address, duration time.Duration, reaso
}
s.metrics.BlocklistedPeerCount.Inc()

_ = s.Disconnect(overlay, "blocklisting peer")
_ = s.Disconnect(overlay, reason)
return nil
}

Expand Down

0 comments on commit 5f61be6

Please sign in to comment.