mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-31 20:11:23 +00:00
RefreshWallet doesn't need to specify localhost explicitly anymore.
This commit is contained in:
@@ -40,7 +40,6 @@ public class RefreshWallet {
|
|||||||
BlockChain chain = new BlockChain(params, wallet, blockStore);
|
BlockChain chain = new BlockChain(params, wallet, blockStore);
|
||||||
|
|
||||||
final PeerGroup peerGroup = new PeerGroup(params, chain);
|
final PeerGroup peerGroup = new PeerGroup(params, chain);
|
||||||
peerGroup.addAddress(new PeerAddress(InetAddress.getLocalHost()));
|
|
||||||
peerGroup.startAsync();
|
peerGroup.startAsync();
|
||||||
|
|
||||||
wallet.addEventListener(new AbstractWalletEventListener() {
|
wallet.addEventListener(new AbstractWalletEventListener() {
|
||||||
|
Reference in New Issue
Block a user