From 1638f6690e8f789057cae39c901f7064ed843a3e Mon Sep 17 00:00:00 2001 From: Jordan Beauchamp Date: Wed, 29 May 2019 02:51:10 +1200 Subject: [PATCH] Pass through authority key with --dev (#2603) --- substrate/core/cli/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/core/cli/src/lib.rs b/substrate/core/cli/src/lib.rs index e629788e80..c8df07ad1f 100644 --- a/substrate/core/cli/src/lib.rs +++ b/substrate/core/cli/src/lib.rs @@ -465,7 +465,7 @@ where config.keys.push(key); } - if cli.shared_params.dev { + if cli.shared_params.dev && cli.keyring.account.is_none() { config.keys.push("//Alice".into()); }