Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wallet: (fix) "batch_rbf" must not mutate LN funding txs
The "Batch RBF transactions" feature mutates existing "local" and "unconfirmed RBF" transactions when creating new transactions: it simply adds the new outputs to the existing txs (and updates the change). The "RBF" flag is only enforced for unconfirmed txs, not for local txs. The bug was that given a local LN funding tx, when creating a new channel with "batch_rbf" enabled, we would modify the existing local tx, and broadcast that. related: spesmilo#7298
- Loading branch information