mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-31 20:11:23 +00:00
PeerAddress: Fix a constructor was hardcoded to the mainnet port.
This commit is contained in:
@@ -93,7 +93,7 @@ public class PeerAddress extends ChildMessage {
|
||||
* parameters.
|
||||
*/
|
||||
public PeerAddress(NetworkParameters params, InetAddress addr) {
|
||||
this(params, addr, MainNetParams.get().getPort());
|
||||
this(params, addr, params.getPort());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user