Subkey should not import the entire world. (#7845)

There is no reason for subkey to import the default Substrate node to
support a feature that would only be usable for the Substrate node.
Subkey itself should be more the default key management binary for
Substrate related chains. If certain chains require some special
functionality, they can easily stick together their own "my-chain-key".
This commit is contained in:
Bastian Köcher
2021-01-07 13:14:42 +01:00
committed by GitHub
parent 8cdb5c01b6
commit 94bb119ef9
4 changed files with 10 additions and 37 deletions
+1 -3
View File
@@ -18,8 +18,6 @@
//! Subkey utility, based on node_runtime.
use node_runtime::Runtime;
fn main() -> Result<(), sc_cli::Error> {
subkey::run::<Runtime>()
subkey::run()
}