mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 14:31:02 +00:00
fixes for nightly clippy (#1618)
This commit is contained in:
committed by
Bastian Köcher
parent
9592b55fea
commit
f58e076ca2
@@ -443,7 +443,7 @@ pub async fn start_node(
|
||||
use substrate_frame_rpc_system::{System, SystemApiServer};
|
||||
|
||||
let mut io = jsonrpsee::RpcModule::new(());
|
||||
let map_err = |e| sc_service::Error::Other(format!("{}", e));
|
||||
let map_err = |e| sc_service::Error::Other(format!("{e}"));
|
||||
io.merge(System::new(client.clone(), pool, DenyUnsafe::No).into_rpc())
|
||||
.map_err(map_err)?;
|
||||
io.merge(TransactionPayment::new(client).into_rpc()).map_err(map_err)?;
|
||||
|
||||
Reference in New Issue
Block a user