mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-11 17:55:53 +00:00
Fix another Java 6 compat issue.
This commit is contained in:
parent
cdc1a4ce99
commit
12750b5840
@ -210,7 +210,7 @@ public class BitcoindComparisonTool {
|
||||
bitcoindChainHead = params.getGenesisBlock().getHash();
|
||||
|
||||
// bitcoind MUST be on localhost or we will get banned as a DoSer
|
||||
new NioClient(new InetSocketAddress(InetAddress.getLoopbackAddress(), args.length > 2 ? Integer.parseInt(args[2]) : params.getPort()), bitcoind, 1000);
|
||||
new NioClient(new InetSocketAddress(InetAddress.getLocalHost(), args.length > 2 ? Integer.parseInt(args[2]) : params.getPort()), bitcoind, 1000);
|
||||
|
||||
connectedFuture.get();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user