Warn when no seed configured

This commit is contained in:
Ignotus Peverell 2017-10-17 14:00:54 +00:00
parent 37cc919f6e
commit affec50588
No known key found for this signature in database
GPG key ID: 99CD25F39F8F8211

View file

@ -117,7 +117,12 @@ impl Server {
let seed = seed::Seeder::new(config.capabilities, peer_store.clone(), p2p_server.clone());
match config.seeding_type.clone() {
Seeding::None => {}
Seeding::None => {
warn!(
LOGGER,
"No seed configured, will stay solo unless connected to"
);
}
Seeding::List => {
seed.connect_and_monitor(
evt_handle.clone(),