mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-14 03:17:19 +00:00
PeerAddress: Fix a constructor was hardcoded to the mainnet port.
This commit is contained in:
@@ -107,7 +107,7 @@ public class PeerAddress extends ChildMessage {
|
|||||||
* Bitcoin mainnet, version number is default for the given parameters.
|
* Bitcoin mainnet, version number is default for the given parameters.
|
||||||
*/
|
*/
|
||||||
public PeerAddress(NetworkParameters params, InetAddress addr) {
|
public PeerAddress(NetworkParameters params, InetAddress addr) {
|
||||||
this(params, addr, MainNetParams.get().getPort());
|
this(params, addr, params.getPort());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user