Skip to content

Commit

Permalink
Fix SelfEndpointTracker tests
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumagi committed Feb 11, 2020
1 parent dfe04c7 commit c9a1942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stratis.Bitcoin/P2P/SelfEndpointTracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void Add(IPEndPoint ipEndPoint)
[NoTrace]
public bool IsSelf(IPEndPoint ipEndPoint)
{
return this.knownSelfEndpoints.Contains(ipEndPoint);
return this.knownSelfEndpoints.Contains(ipEndPoint.MapToIpv6());
}

/// <inheritdoc/>
Expand Down

0 comments on commit c9a1942

Please sign in to comment.