Fix warnings. (#4768)

This commit is contained in:
Tomasz Drwięga
2020-01-29 21:37:26 +01:00
committed by GitHub
parent 504b4e89e8
commit fd03f4e950
5 changed files with 7 additions and 13 deletions
+3 -1
View File
@@ -90,7 +90,9 @@ where
let _ = exit_send.send(());
runtime.block_on(handle);
if let Err(e) = runtime.block_on(handle) {
log::error!("Error running node: {:?}", e);
}
match service_res {
Either::Left((res, _)) => res.map_err(error::Error::Service),
@@ -11,7 +11,6 @@ use sc_executor::native_executor_instance;
pub use sc_executor::NativeExecutor;
use sp_consensus_aura::sr25519::{AuthorityPair as AuraPair};
use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider};
use futures::{FutureExt, compat::Future01CompatExt};
// Our native executor instance.
native_executor_instance!(