From a93f7c0fc47ac88f3c90e8e4ffcf597310f6e286 Mon Sep 17 00:00:00 2001 From: xstoicunicornx Date: Wed, 15 Jul 2026 08:33:14 -0700 Subject: [PATCH] Remove stale incompatible_msrv clippy allows Clippy no longer flags tokio::select! under the 1.85 MSRV, so the allow attributes in the v1 and v2 send/receive functions are dead. Verified clippy passes with -D warnings under --all-features and each of the v1/v2 feature sets alone. --- payjoin-cli/src/app/v1.rs | 1 - payjoin-cli/src/app/v2/mod.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/payjoin-cli/src/app/v1.rs b/payjoin-cli/src/app/v1.rs index a7082005d..4dd654477 100644 --- a/payjoin-cli/src/app/v1.rs +++ b/payjoin-cli/src/app/v1.rs @@ -107,7 +107,6 @@ impl AppTrait for App { Ok(()) } - #[allow(clippy::incompatible_msrv)] async fn receive_payjoin(&self, amount: Amount) -> Result<()> { let mut interrupt = self.interrupt.clone(); tokio::select! { diff --git a/payjoin-cli/src/app/v2/mod.rs b/payjoin-cli/src/app/v2/mod.rs index d7d4054ed..73247b7e8 100644 --- a/payjoin-cli/src/app/v2/mod.rs +++ b/payjoin-cli/src/app/v2/mod.rs @@ -207,7 +207,6 @@ impl AppTrait for App { fn wallet(&self) -> BitcoindWallet { self.wallet.clone() } - #[allow(clippy::incompatible_msrv)] async fn send_payjoin(&self, bip21: &str, fee_rate: FeeRate) -> Result<()> { use payjoin::UriExt; let uri = Uri::try_from(bip21) @@ -323,7 +322,6 @@ impl AppTrait for App { } } - #[allow(clippy::incompatible_msrv)] async fn receive_payjoin(&self, amount: Amount) -> Result<()> { let address = self.wallet().get_new_address()?; let persister = ReceiverPersister::new(self.db.clone())?;