Skip to content

Commit 8af3a04

Browse files
committed
formatting
1 parent a068b91 commit 8af3a04

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

node/src/cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ pub struct Cli {
5151
#[clap(flatten)]
5252
pub ethereum_config: crate::service::evm::EthereumConfig,
5353

54-
#[arg(long)]
54+
#[arg(long)]
5555
/// Disable overwrite of TX priorities by the client.
56-
pub no_tx_priority_overwrite: bool,
56+
pub no_tx_priority_overwrite: bool,
5757
}
5858

5959
#[derive(Debug)]

node/src/service.rs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ use std::{collections::BTreeMap, sync::Mutex};
6161
use substrate_prometheus_endpoint::Registry;
6262

6363
pub(crate) mod evm;
64-
use crate::{chain_spec, rpc, cli};
64+
use crate::{chain_spec, cli, rpc};
6565

6666
type ParachainClient = TFullClient<
6767
Block,
@@ -110,13 +110,11 @@ impl TransactionDetailProvider for TxDetailProvider {
110110
None
111111
}
112112
}
113-
_ => {
114-
Some(TransactionDetail {
115-
module: call_metadata.pallet_name,
116-
extrinsic: call_metadata.function_name,
117-
transaction_data: None,
118-
})
119-
}
113+
_ => Some(TransactionDetail {
114+
module: call_metadata.pallet_name,
115+
extrinsic: call_metadata.function_name,
116+
transaction_data: None,
117+
}),
120118
}
121119
}
122120
}
@@ -177,7 +175,7 @@ pub fn new_partial(
177175
} else {
178176
Some(include_str!("./tx_priority.json"))
179177
};
180-
178+
181179
let (client, backend, keystore_container, task_manager) =
182180
sc_service::new_full_parts_record_import::<Block, RuntimeApi, _>(
183181
config,

0 commit comments

Comments
 (0)