mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
protocol_seed: fix bool syntax
This commit is contained in:
@@ -72,7 +72,7 @@ impl ProtocolSeed {
|
||||
}
|
||||
|
||||
// Do nothing if advertise is set to false
|
||||
if self.settings.advertise == false {
|
||||
if !self.settings.advertise {
|
||||
debug!(target: "net::protocol_seed::send_my_addrs()",
|
||||
"Advertise is set to false. Stopping");
|
||||
return Ok(())
|
||||
|
||||
Reference in New Issue
Block a user