interactive-tx: 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:33:36 +13:00 committed by Christian Decker
parent 2137343e7a
commit d4fdf8b94e

View file

@ -459,7 +459,7 @@ char *process_interactivetx_updates(const tal_t *ctx,
/* 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(ctx, &tx_bytes, &len); tx = pull_bitcoin_tx_only(ctx, &tx_bytes, &len);
if (!tx || len != 0) if (!tx || len != 0)
return tal_fmt(ctx, "Invalid tx sent. len: %d", return tal_fmt(ctx, "Invalid tx sent. len: %d",