Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: ignore ports when comparing I2P addresses
From our perspective ports are ignored when connecting to the I2P network. I.e. `aaa.b32.i2p:1111` is the same as `aaa.b32.i2p:2222`, so compare them equal to avoid redundant connections to the same node if ports happen to differ for some reason. Fixes bitcoin#21389
- Loading branch information