Simple example:
- User_1 sends 0.1 btc to user_2 on a low fee transaction.
- After few hours, the tx is still in the mempool, user_2 is not interested anymore, so user_1 decides to cancel it by sending coins back to himself.
- User_1 has the bright idea of opening the explorer and copy the change output address of the transaction. Then call bumpfee providing such output (in the “outputs” arg).
Currently, this is not possible. The wallet fails with “Unable to create transaction. Transaction must have at least one recipient” error. The error reason is because we discard the provided output from the recipients list and set it inside the coin control so the process adds it later (when the change is calculated). But.. there is no later if the tx has no outputs.