cleanup(clippy): Fix a clippy lint and deny.toml entry after recent changes (#7419)
* Remove unmatched-skip-root in deny.toml * Ignore unused variable when getblocktemplate-rpcs is disabled --------- Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
This commit is contained in:
parent
a857d1c48c
commit
5888a4e5d6
|
@ -90,9 +90,6 @@ skip-tree = [
|
|||
# wait for tokio-test -> tokio-stream to upgrade
|
||||
{ name = "tokio-util", version = "=0.6.10" },
|
||||
|
||||
# wait for proptest-derive to upgrade proc-macro2 and syn
|
||||
{ name = "unicode-xid", version = "=0.1.0"},
|
||||
|
||||
# wait for console-subscriber and tower to update hdrhistogram.
|
||||
# also wait for ron to update insta, and wait for tonic update.
|
||||
{ name = "base64", version = "=0.13.1" },
|
||||
|
|
|
@ -95,6 +95,7 @@ impl RpcServer {
|
|||
AddressBook,
|
||||
>(
|
||||
config: Config,
|
||||
#[cfg_attr(not(feature = "getblocktemplate-rpcs"), allow(unused_variables))]
|
||||
mining_config: crate::config::mining::Config,
|
||||
build_version: VersionString,
|
||||
user_agent: UserAgentString,
|
||||
|
|
Loading…
Reference in New Issue