mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-26 05:57:07 +01:00
This commit fixes a slight bug in the utxoNursery. Previously, if we forced closed a channel that was solely funded by the other party without pushing any satoshis, then the utxoNursery would attempt to sweep a target output even though it didn’t actually exist. This would result in the creation of a negative value’d output due to the hard coded fees currently used in several areas. To fix his, we now ignore any “output” with a value of zero, when adding new outputs to the kindergarden bucket.
28 KiB
28 KiB