gun
gun copied to clipboard
split should send to last unused change address
Otherwise after you cancel a split you increment the change index too much without using any addresses inbetween.
This should be updated to make use of FirstUnused with BDK if https://github.com/bitcoindevkit/bdk/pull/546 is merged