Skip to content

Commit

Permalink
chore: adding a log message
Browse files Browse the repository at this point in the history
  • Loading branch information
b00f committed Nov 3, 2023
1 parent ea3ea87 commit 06718b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ func newNetwork(networkName string, conf *Config, opts []lp2p.Option) (*network,
for _, addr := range as {
if conf.PrivateNetwork || !privateFilters.AddrBlocked(addr) {
addrs = append(addrs, addr)
} else {
// TODO: remove me later
logger.Debug("private ip filtered", "ip", conf.PrivateNetwork)

Check warning on line 199 in network/network.go

View check run for this annotation

Codecov / codecov/patch

network/network.go#L199

Added line #L199 was not covered by tests
}
}
return addrs
Expand Down

0 comments on commit 06718b6

Please sign in to comment.