3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-11 17:55:53 +00:00

Move the banner print in the PingService until after the blockchain.

This commit is contained in:
Mike Hearn 2011-03-08 12:09:35 +00:00
parent c3f5496a8e
commit fdde166813

View File

@ -46,7 +46,6 @@ public class PingService {
// Connect to the localhost node.
System.out.println("Please wait, connecting and downloading block chain. This may take a while.");
System.out.println("Send coins to: " + key.toAddress(params).toString());
NetworkConnection conn = new NetworkConnection(InetAddress.getLocalHost(), params);
BlockChain chain = new BlockChain(params, wallet);
@ -83,6 +82,7 @@ public class PingService {
}
});
System.out.println("Send coins to: " + key.toAddress(params).toString());
System.out.println("Waiting for coins to arrive. Press Ctrl-C to quit.");
// The peer thread keeps us alive until something kills the process.
}