mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 06:44:16 +00:00
Stop the main thread as the peer group thread is now daemonized.
This commit is contained in:
parent
b899b0acd3
commit
eb490f7168
@ -180,7 +180,7 @@ public class PingService {
|
|||||||
peerGroup.downloadBlockChain();
|
peerGroup.downloadBlockChain();
|
||||||
System.out.println("Send coins to: " + key.toAddress(params).toString());
|
System.out.println("Send coins to: " + key.toAddress(params).toString());
|
||||||
System.out.println("Waiting for coins to arrive. Press Ctrl-C to quit.");
|
System.out.println("Waiting for coins to arrive. Press Ctrl-C to quit.");
|
||||||
// The PeerGroup thread keeps us alive until something kills the process.
|
while (true) Thread.sleep(Long.MAX_VALUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void bounceCoins(Transaction tx) {
|
private void bounceCoins(Transaction tx) {
|
||||||
|
Loading…
Reference in New Issue
Block a user