Skip to content

Commit

Permalink
Silence unstable MSRV tokio::select! warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
spacebear21 committed Nov 8, 2024
1 parent 1e19ec7 commit b690879
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions payjoin-cli/src/app/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ impl AppTrait for App {
}

impl App {
#[allow(clippy::incompatible_msrv)]
async fn spawn_payjoin_sender(&self, mut req_ctx: Sender) -> Result<()> {
let mut interrupt = self.interrupt.clone();
tokio::select! {
Expand All @@ -104,6 +105,7 @@ impl App {
Ok(())
}

#[allow(clippy::incompatible_msrv)]
async fn spawn_payjoin_receiver(
&self,
mut session: Receiver,
Expand Down Expand Up @@ -157,6 +159,7 @@ impl App {
Ok(())
}

#[allow(clippy::incompatible_msrv)]
pub async fn resume_payjoins(&self) -> Result<()> {
let recv_sessions = self.db.get_recv_sessions()?;
let send_sessions = self.db.get_send_sessions()?;
Expand Down

0 comments on commit b690879

Please sign in to comment.