From 1b359e6ec781f1a03fe5f16f0f96b8fa8bc86317 Mon Sep 17 00:00:00 2001 From: Chenxing Li Date: Mon, 22 Apr 2024 19:25:00 +0800 Subject: [PATCH] Cargo clippy --- node/miner/src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/node/miner/src/config.rs b/node/miner/src/config.rs index 03dfb255..a0a85ba0 100644 --- a/node/miner/src/config.rs +++ b/node/miner/src/config.rs @@ -21,6 +21,7 @@ pub struct MinerConfig { pub type MineServiceMiddleware = SignerMiddleware, LocalWallet>; impl MinerConfig { + #[allow(clippy::too_many_arguments)] pub fn new( miner_id: Option, miner_key: Option,