mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-14 19:25:51 +00:00
Move the banner print in the PingService until after the blockchain.
This commit is contained in:
parent
c3f5496a8e
commit
fdde166813
@ -46,7 +46,6 @@ public class PingService {
|
|||||||
|
|
||||||
// Connect to the localhost node.
|
// Connect to the localhost node.
|
||||||
System.out.println("Please wait, connecting and downloading block chain. This may take a while.");
|
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);
|
NetworkConnection conn = new NetworkConnection(InetAddress.getLocalHost(), params);
|
||||||
BlockChain chain = new BlockChain(params, wallet);
|
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.");
|
System.out.println("Waiting for coins to arrive. Press Ctrl-C to quit.");
|
||||||
// The peer thread keeps us alive until something kills the process.
|
// The peer thread keeps us alive until something kills the process.
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user