Skip to content

Commit

Permalink
Fix prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Dec 5, 2023
1 parent 8b6dd6f commit 6ea7add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/peergos/HostBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public static Host build(PrivKey privKey,
if (connection.isInitiator())
return;
addrs.getAddrs(remotePeer).thenAccept(existing -> {
if (existing.isEmpty())
if (! existing.isEmpty())
return;
StreamPromise<IdentifyController> stream = connection.muxerSession()
.createStream(new IdentifyBinding(new IdentifyProtocol()));
Expand Down

0 comments on commit 6ea7add

Please sign in to comment.