forked from lightningdevkit/ldk-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add comments and debug assertions for
list_unspent_utxos
We previously erroneously included the version byte trying to construct a `WitnessProgram`, which was was recently fixed. Here we add some more comments to the code explaining what went wrong, and also add a debug assertion checking `list_unspent_utxos` retrieves at least one `Utxo` when we see any confirmed balances.
- Loading branch information
Showing
1 changed file
with
42 additions
and
10 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