bdk icon indicating copy to clipboard operation
bdk copied to clipboard

Add `allow_shrinking` to a non-signed, non-broadcasted transaction

Open terror opened this issue 2 years ago • 0 comments

We want to be able to use TxBuilder::allow_shrinking() on a transaction that is created using Wallet::build_tx() but currently TxBuilder::allow_shrinking() is only allowed on transactions built with Wallet::build_fee_bump(txid), which requires a previous transaction to be signed and broadcasted to the network. Is there a way to use TxBuilder::allow_shrinking() without signing or broadcasting a transaction?

terror avatar Aug 12 '22 20:08 terror