Skip to content

Commit

Permalink
fix npe on trace msg
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
  • Loading branch information
gfukushima committed Apr 11, 2024
1 parent 5858a8b commit 1b037e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public boolean shouldConnect(final Peer peer, final boolean inbound) {
.anyMatch(c -> !c.isDisconnected() && (!inbound || (inbound && c.inboundInitiated())))) {
LOG.atTrace()
.setMessage("not connecting to peer {} - new connection already in process")
.addArgument(ethPeer.getLoggableId())
.addArgument(peer.getLoggableId())
.log();
return false;
}
Expand Down

0 comments on commit 1b037e5

Please sign in to comment.