Skip to content

Commit

Permalink
Update list_balances documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arik-so committed Dec 18, 2024
1 parent 20a6927 commit 8e9fcb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1368,6 +1368,8 @@ impl Node {
}

/// Retrieves an overview of all known balances.
///
/// Note that to retrieve the latest on-chain balance, you need to call [`Node::sync_wallets`] first.
pub fn list_balances(&self) -> BalanceDetails {
let cur_anchor_reserve_sats =
total_anchor_channels_reserve_sats(&self.channel_manager, &self.config);
Expand Down

0 comments on commit 8e9fcb9

Please sign in to comment.