Skip to content

Commit

Permalink
Remove useless check
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommo-L committed Jun 5, 2020
1 parent eb4bf94 commit dc53059
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/neo/Network/P2P/LocalNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ internal static IPEndPoint GetIpEndPoint(string hostAndPort)
/// <param name="node">Remote node</param>
public bool AllowNewConnection(IActorRef actor, RemoteNode node)
{
if (node.Remote is null) return false;
if (node.Version.Nonce == Nonce) return false;

foreach (var other in RemoteNodes.Values)
Expand Down

0 comments on commit dc53059

Please sign in to comment.