mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 14:54:15 +00:00
PeerGroup: print a log warn if there's no blockchain.
This commit is contained in:
parent
0e74eba29f
commit
a893bdd603
@ -740,6 +740,10 @@ public class PeerGroup extends AbstractExecutionThreadService implements Transac
|
||||
@Override
|
||||
protected void startUp() throws Exception {
|
||||
// This is run in a background thread by the Service implementation.
|
||||
if (chain == null) {
|
||||
// Just try to help catch what might be a programming error.
|
||||
log.warn("Starting up with no attached block chain. Did you forget to pass one to the constructor?");
|
||||
}
|
||||
vPingTimer = new Timer("Peer pinging thread", true);
|
||||
if (torClient != null) {
|
||||
log.info("Starting Tor/Orchid ...");
|
||||
|
Loading…
x
Reference in New Issue
Block a user