mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
Warn when no seed configured
This commit is contained in:
parent
37cc919f6e
commit
affec50588
1 changed files with 6 additions and 1 deletions
|
@ -117,7 +117,12 @@ impl Server {
|
||||||
|
|
||||||
let seed = seed::Seeder::new(config.capabilities, peer_store.clone(), p2p_server.clone());
|
let seed = seed::Seeder::new(config.capabilities, peer_store.clone(), p2p_server.clone());
|
||||||
match config.seeding_type.clone() {
|
match config.seeding_type.clone() {
|
||||||
Seeding::None => {}
|
Seeding::None => {
|
||||||
|
warn!(
|
||||||
|
LOGGER,
|
||||||
|
"No seed configured, will stay solo unless connected to"
|
||||||
|
);
|
||||||
|
}
|
||||||
Seeding::List => {
|
Seeding::List => {
|
||||||
seed.connect_and_monitor(
|
seed.connect_and_monitor(
|
||||||
evt_handle.clone(),
|
evt_handle.clone(),
|
||||||
|
|
Loading…
Reference in a new issue