Skip to content

Commit

Permalink
PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Oct 28, 2024
1 parent 5558cea commit 48efd48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion p2p/whitelist_connection_gater.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ func NewWhitelistConnectionGater(whitelistedPeers []peer.ID, logger zerolog.Logg
}

for _, p := range whitelistedPeers {
logger.Info().Msgf("Adding peer %s to whitelist", p)
logger.Info().
Stringer("peer", p).
Msg("Adding peer to whitelist")
gater.whitelistedPeers[p] = true
}

Expand Down

0 comments on commit 48efd48

Please sign in to comment.