|
@@ -196,6 +196,7 @@ impl Mint {
|
|
let shutdown = Arc::clone(&shutdown);
|
|
let shutdown = Arc::clone(&shutdown);
|
|
let key = *key;
|
|
let key = *key;
|
|
join_set.spawn(async move {
|
|
join_set.spawn(async move {
|
|
|
|
+ if !ln.is_wait_invoice_active() {
|
|
loop {
|
|
loop {
|
|
tokio::select! {
|
|
tokio::select! {
|
|
_ = shutdown.notified() => {
|
|
_ = shutdown.notified() => {
|
|
@@ -218,6 +219,7 @@ impl Mint {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
});
|
|
});
|