Skip to content

Commit aeb1166

Browse files
committed
f Allow for clippy
1 parent 1e6f211 commit aeb1166

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning-liquidity/src/lsps2/service.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,7 @@ where
757757
///
758758
/// [`ChannelManager::get_intercept_scid`]: lightning::ln::channelmanager::ChannelManager::get_intercept_scid
759759
/// [`LSPS2ServiceEvent::BuyRequest`]: crate::lsps2::event::LSPS2ServiceEvent::BuyRequest
760+
#[allow(clippy::await_holding_lock)]
760761
pub async fn invoice_parameters_generated(
761762
&self, counterparty_node_id: &PublicKey, request_id: LSPSRequestId, intercept_scid: u64,
762763
cltv_expiry_delta: u32, client_trusts_lsp: bool, user_channel_id: u128,
@@ -843,6 +844,7 @@ where
843844
///
844845
/// [`Event::HTLCIntercepted`]: lightning::events::Event::HTLCIntercepted
845846
/// [`LSPS2ServiceEvent::OpenChannel`]: crate::lsps2::event::LSPS2ServiceEvent::OpenChannel
847+
#[allow(clippy::await_holding_lock)]
846848
pub async fn htlc_intercepted(
847849
&self, intercept_scid: u64, intercept_id: InterceptId, expected_outbound_amount_msat: u64,
848850
payment_hash: PaymentHash,
@@ -1119,6 +1121,7 @@ where
11191121
/// open, as it only affects the local LSPS2 state and doesn't affect any channels that
11201122
/// might already exist on-chain. Any pending channel open attempts must be managed
11211123
/// separately.
1124+
#[allow(clippy::await_holding_lock)]
11221125
pub async fn channel_open_abandoned(
11231126
&self, counterparty_node_id: &PublicKey, user_channel_id: u128,
11241127
) -> Result<(), APIError> {
@@ -1184,6 +1187,7 @@ where
11841187
/// state so that the payer may try the payment again.
11851188
///
11861189
/// [`LSPS2ServiceEvent::OpenChannel`]: crate::lsps2::event::LSPS2ServiceEvent::OpenChannel
1190+
#[allow(clippy::await_holding_lock)]
11871191
pub async fn channel_open_failed(
11881192
&self, counterparty_node_id: &PublicKey, user_channel_id: u128,
11891193
) -> Result<(), APIError> {

0 commit comments

Comments
 (0)