From a5c64be2b81829dd0d453f5c4f4f662a7110a5c9 Mon Sep 17 00:00:00 2001 From: ngutech21 Date: Mon, 26 Feb 2024 08:24:59 +0100 Subject: [PATCH] chore: disable lint blocks_in_conditions --- moksha-mint/src/btconchain/lnd.rs | 1 + moksha-mint/src/database/postgres.rs | 1 + moksha-mint/src/lightning/lnd.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/moksha-mint/src/btconchain/lnd.rs b/moksha-mint/src/btconchain/lnd.rs index 92229a5e..17dfb1e0 100644 --- a/moksha-mint/src/btconchain/lnd.rs +++ b/moksha-mint/src/btconchain/lnd.rs @@ -1,3 +1,4 @@ +#![allow(clippy::blocks_in_conditions)] use super::{BtcOnchain, EstimateFeeResult, SendCoinsResult}; use crate::error::MokshaMintError; use async_trait::async_trait; diff --git a/moksha-mint/src/database/postgres.rs b/moksha-mint/src/database/postgres.rs index a7c4d6e5..e6f4c9b6 100644 --- a/moksha-mint/src/database/postgres.rs +++ b/moksha-mint/src/database/postgres.rs @@ -1,3 +1,4 @@ +#![allow(clippy::blocks_in_conditions)] use async_trait::async_trait; use moksha_core::{ dhke, diff --git a/moksha-mint/src/lightning/lnd.rs b/moksha-mint/src/lightning/lnd.rs index 3ac3110c..bb021cd7 100644 --- a/moksha-mint/src/lightning/lnd.rs +++ b/moksha-mint/src/lightning/lnd.rs @@ -1,3 +1,4 @@ +#![allow(clippy::blocks_in_conditions)] use std::{ fmt::{self, Formatter}, path::PathBuf,