Skip to content

Commit

Permalink
Cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenxingLi committed Apr 22, 2024
1 parent dd8ad6b commit 1b359e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node/miner/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub struct MinerConfig {
pub type MineServiceMiddleware = SignerMiddleware<Provider<Http>, LocalWallet>;

impl MinerConfig {
#[allow(clippy::too_many_arguments)]
pub fn new(
miner_id: Option<H256>,
miner_key: Option<H256>,
Expand Down

0 comments on commit 1b359e6

Please sign in to comment.