mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 09:50:32 +01:00
RefreshWallet doesn't need to specify localhost explicitly anymore.
This commit is contained in:
parent
e12930c00f
commit
0952cf3d20
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user