Skip to content

Don't orphan trace amounts of BTC funds

Son of Odin requested to merge dont-orphan-btc into develop

In rare occasions, tiny amounts of BTC can be left over in a vault during a migration. This can cause those funds to be orhpaned as the wallet doesn't have enough funds to move the last bits.

This change detects when that is the case and just migrates the remainder as well, if the remainder is less than the gas amount.

Merge request reports