@@ -757,6 +757,7 @@ where
757
757
///
758
758
/// [`ChannelManager::get_intercept_scid`]: lightning::ln::channelmanager::ChannelManager::get_intercept_scid
759
759
/// [`LSPS2ServiceEvent::BuyRequest`]: crate::lsps2::event::LSPS2ServiceEvent::BuyRequest
760
+ #[ allow( clippy:: await_holding_lock) ]
760
761
pub async fn invoice_parameters_generated (
761
762
& self , counterparty_node_id : & PublicKey , request_id : LSPSRequestId , intercept_scid : u64 ,
762
763
cltv_expiry_delta : u32 , client_trusts_lsp : bool , user_channel_id : u128 ,
@@ -843,6 +844,7 @@ where
843
844
///
844
845
/// [`Event::HTLCIntercepted`]: lightning::events::Event::HTLCIntercepted
845
846
/// [`LSPS2ServiceEvent::OpenChannel`]: crate::lsps2::event::LSPS2ServiceEvent::OpenChannel
847
+ #[ allow( clippy:: await_holding_lock) ]
846
848
pub async fn htlc_intercepted (
847
849
& self , intercept_scid : u64 , intercept_id : InterceptId , expected_outbound_amount_msat : u64 ,
848
850
payment_hash : PaymentHash ,
@@ -1119,6 +1121,7 @@ where
1119
1121
/// open, as it only affects the local LSPS2 state and doesn't affect any channels that
1120
1122
/// might already exist on-chain. Any pending channel open attempts must be managed
1121
1123
/// separately.
1124
+ #[ allow( clippy:: await_holding_lock) ]
1122
1125
pub async fn channel_open_abandoned (
1123
1126
& self , counterparty_node_id : & PublicKey , user_channel_id : u128 ,
1124
1127
) -> Result < ( ) , APIError > {
@@ -1184,6 +1187,7 @@ where
1184
1187
/// state so that the payer may try the payment again.
1185
1188
///
1186
1189
/// [`LSPS2ServiceEvent::OpenChannel`]: crate::lsps2::event::LSPS2ServiceEvent::OpenChannel
1190
+ #[ allow( clippy:: await_holding_lock) ]
1187
1191
pub async fn channel_open_failed (
1188
1192
& self , counterparty_node_id : & PublicKey , user_channel_id : u128 ,
1189
1193
) -> Result < ( ) , APIError > {
0 commit comments