mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 02:05:53 +00:00
WatchMempol: fix a regression
This commit is contained in:
parent
2b6db0dc80
commit
8f219ff458
@ -27,7 +27,7 @@ import org.slf4j.LoggerFactory;
|
|||||||
public class WatchMempool {
|
public class WatchMempool {
|
||||||
private static Logger log = LoggerFactory.getLogger(WatchMempool.class);
|
private static Logger log = LoggerFactory.getLogger(WatchMempool.class);
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) throws InterruptedException {
|
||||||
BriefLogFormatter.init();
|
BriefLogFormatter.init();
|
||||||
NetworkParameters params = MainNetParams.get();
|
NetworkParameters params = MainNetParams.get();
|
||||||
PeerGroup peerGroup = new PeerGroup(params);
|
PeerGroup peerGroup = new PeerGroup(params);
|
||||||
@ -44,6 +44,7 @@ public class WatchMempool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
peerGroup.startAsync();
|
peerGroup.start();
|
||||||
|
Thread.sleep(Long.MAX_VALUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user