mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 14:50:57 +01:00
Java 6 compat to unbreak the build
This commit is contained in:
parent
ef0ae01b75
commit
533489ed78
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ public class BitcoindComparisonTool {
|
|||
VersionMessage ver = new VersionMessage(params, 42);
|
||||
ver.appendToSubVer("BlockAcceptanceComparisonTool", "1.1", null);
|
||||
ver.localServices = VersionMessage.NODE_NETWORK;
|
||||
final Peer bitcoind = new Peer(params, ver, new BlockChain(params, new MemoryBlockStore(params)), new PeerAddress(InetAddress.getLoopbackAddress()));
|
||||
final Peer bitcoind = new Peer(params, ver, new BlockChain(params, new MemoryBlockStore(params)), new PeerAddress(InetAddress.getLocalHost()));
|
||||
Preconditions.checkState(bitcoind.getVersionMessage().hasBlockChain());
|
||||
|
||||
final BlockWrapper currentBlock = new BlockWrapper();
|
||||
|
|
Loading…
Add table
Reference in a new issue