mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 00:58:02 +00:00
Companion for Substrate#7795 (#2180)
* Companion for Substrate#7795 https://github.com/paritytech/substrate/pull/7795 * Fix missing test * "Update Substrate" Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -252,7 +252,15 @@ pub fn run() -> Result<()> {
|
||||
})
|
||||
},
|
||||
Some(Subcommand::ValidationWorker(cmd)) => {
|
||||
let _ = sc_cli::init_logger("", sc_tracing::TracingReceiver::Log, None, false);
|
||||
let _ = sc_cli::init_logger(
|
||||
sc_cli::InitLoggerParams {
|
||||
pattern: "".into(),
|
||||
tracing_receiver: Default::default(),
|
||||
tracing_targets: None,
|
||||
disable_log_reloading: false,
|
||||
disable_log_color: true,
|
||||
},
|
||||
);
|
||||
|
||||
if cfg!(feature = "browser") || cfg!(target_os = "android") {
|
||||
Err(sc_cli::Error::Input("Cannot run validation worker in browser".into()))
|
||||
|
||||
Reference in New Issue
Block a user