mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-15 07:13:21 +01:00
In this commit, we implement the new feature which allows sendcoins to sweep all the coins in the wallet. We use the new sweep.CraftSweepAllTx method, and also use WithCoinSelectLock to ensure that we don't trigger any double-spend errors triggered by coin selection race conditions.
145 KiB
145 KiB