Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion graduated-rebalancer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ license = "MIT OR Apache-2.0"
bitcoin-payment-instructions = { workspace = true }
lightning = { workspace = true }
lightning-invoice = { workspace = true }
tokio = { version = "1", default-features = false }
tokio = { version = "1", default-features = false, features = ["sync"] }
2 changes: 1 addition & 1 deletion graduated-rebalancer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ where

/// Perform on-chain to lightning rebalance by opening a channel or splicing into an existing one
async fn do_onchain_rebalance(&self, params: TriggerParams) {
let _ = self.balance_mutex.lock().await;
let _lock = self.balance_mutex.lock().await;

let (channel_outpoint, user_channel_id) = if self.ln_wallet.has_channel_with_lsp() {
log_info!(self.logger, "Splicing into channel with LSP with on-chain funds");
Expand Down
Loading