mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-22 23:25:22 +01:00
chore: clippy
This commit is contained in:
@@ -138,7 +138,7 @@ impl MintLightning for Lnd {
|
|||||||
// Stream is cancelled
|
// Stream is cancelled
|
||||||
is_active.store(false, Ordering::SeqCst);
|
is_active.store(false, Ordering::SeqCst);
|
||||||
tracing::info!("Waiting for lnd invoice ending");
|
tracing::info!("Waiting for lnd invoice ending");
|
||||||
return None;
|
None
|
||||||
|
|
||||||
}
|
}
|
||||||
msg = stream.message() => {
|
msg = stream.message() => {
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ impl MintLightning for Phoenixd {
|
|||||||
self.wait_invoice_cancel_token.cancel()
|
self.wait_invoice_cancel_token.cancel()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::incompatible_msrv)]
|
||||||
async fn wait_any_invoice(
|
async fn wait_any_invoice(
|
||||||
&self,
|
&self,
|
||||||
) -> Result<Pin<Box<dyn Stream<Item = String> + Send>>, Self::Err> {
|
) -> Result<Pin<Box<dyn Stream<Item = String> + Send>>, Self::Err> {
|
||||||
@@ -126,7 +127,7 @@ impl MintLightning for Phoenixd {
|
|||||||
// Stream is cancelled
|
// Stream is cancelled
|
||||||
is_active.store(false, Ordering::SeqCst);
|
is_active.store(false, Ordering::SeqCst);
|
||||||
tracing::info!("Waiting for phonixd invoice ending");
|
tracing::info!("Waiting for phonixd invoice ending");
|
||||||
return None;
|
None
|
||||||
}
|
}
|
||||||
msg_option = receiver.recv() => {
|
msg_option = receiver.recv() => {
|
||||||
match msg_option {
|
match msg_option {
|
||||||
|
|||||||
Reference in New Issue
Block a user