forked from joemphilips/DotNetLightning
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SpendableBalanceFromParts function
This is needed in geewallet for getting the spendable balance of channel when we only have the components of a Channel object but not the Channel object itself. This method can be moved onto SavedChannelState when the necessary fields remaining in Channel/Commitments are moved there.
- Loading branch information
Showing
1 changed file
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters