3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 14:54:15 +00:00

Stop the main thread as the peer group thread is now daemonized.

This commit is contained in:
Mike Hearn 2012-04-04 17:38:05 +02:00
parent b899b0acd3
commit eb490f7168

View File

@ -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) {