Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier committed Sep 14, 2022
1 parent dec1844 commit 47c8aae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node/service/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ where
use sp_consensus::CanAuthorWithNativeVersion;

if config.keystore_remote.is_some() {
return Err(ServiceError::Other("Remote Keystores are not supported.".to_string()));
return Err(ServiceError::Other("Remote Keystores are not supported.".into()));
}

set_prometheus_registry(config)?;
Expand Down
2 changes: 1 addition & 1 deletion node/service/src/service/template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub fn new_partial(
use sc_service::error::Error as ServiceError;

if config.keystore_remote.is_some() {
return Err(ServiceError::Other("Remote Keystores are not supported.".to_string()));
return Err(ServiceError::Other("Remote Keystores are not supported.".into()));
}

let executor = <NativeElseWasmExecutor<Executor>>::new(
Expand Down

0 comments on commit 47c8aae

Please sign in to comment.