RefreshWallet doesn't need to specify localhost explicitly anymore.

This commit is contained in:
Mike Hearn 2014-11-23 14:23:24 +01:00
parent e12930c00f
commit 0952cf3d20

View File

@ -40,7 +40,6 @@ public class RefreshWallet {
BlockChain chain = new BlockChain(params, wallet, blockStore);
final PeerGroup peerGroup = new PeerGroup(params, chain);
peerGroup.addAddress(new PeerAddress(InetAddress.getLocalHost()));
peerGroup.startAsync();
wallet.addEventListener(new AbstractWalletEventListener() {