From 7f9589d678632ac4d412f54380ffbd82a9df59f6 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Thu, 29 Mar 2018 14:33:57 +0200 Subject: [PATCH] Fix warning about --no-hardcoded-sync being printed when it shouldn't (#8261) --- parity/run.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parity/run.rs b/parity/run.rs index e7fb41cd7..9b64a40d9 100644 --- a/parity/run.rs +++ b/parity/run.rs @@ -575,7 +575,7 @@ pub fn execute_impl(cmd: RunCmd, can_restart: bool, logger: Arc) } // display warning if using --no-hardcoded-sync - if !cmd.no_hardcoded_sync { + if cmd.no_hardcoded_sync { warn!("The --no-hardcoded-sync flag has no effect if you don't use --light"); }