dualfund: avoid creating PSBT wrappers for input UTXOs

Changelog-None

Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com>
This commit is contained in:
Jon Griffiths 2024-01-09 20:36:58 +13:00 committed by Christian Decker
parent d4fdf8b94e
commit 1b37515528

View file

@ -1784,7 +1784,7 @@ static bool run_tx_interactive(struct state *state,
/* Convert tx_bytes to a tx! */ /* Convert tx_bytes to a tx! */
len = tal_bytelen(tx_bytes); len = tal_bytelen(tx_bytes);
tx = pull_bitcoin_tx(tmpctx, &tx_bytes, &len); tx = pull_bitcoin_tx_only(tmpctx, &tx_bytes, &len);
if (!tx || len != 0) { if (!tx || len != 0) {
open_abort(state, "%s", "Invalid tx sent."); open_abort(state, "%s", "Invalid tx sent.");
return false; return false;