Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Apr 30, 2024
1 parent 2bc06d0 commit 2ee8aca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions simnode/src/client/aura.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ where
rpc_builder: Box::new(move |deny_unsafe, subscription_executor| {
let mut io = rpc_builder(deny_unsafe, subscription_executor)?;

io.merge(SimnodeRpcHandler::<C>::new(client_clone.clone(), backend_clone.clone()).into_rpc())
.map_err(|_| {
sc_service::Error::Other("Unable to merge simnode rpc api".to_string())
})?;
io.merge(
SimnodeRpcHandler::<C>::new(client_clone.clone(), backend_clone.clone()).into_rpc(),
)
.map_err(|_| sc_service::Error::Other("Unable to merge simnode rpc api".to_string()))?;
io.merge(ManualSeal::new(rpc_sink.clone()).into_rpc()).map_err(|_| {
sc_service::Error::Other("Unable to merge manual seal rpc api".to_string())
})?;
Expand Down

0 comments on commit 2ee8aca

Please sign in to comment.