From 5e3b27c3060b552bf9d8e0547ffb77f12604f4f1 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Mon, 6 May 2019 15:22:09 +0200 Subject: [PATCH] elements: Mark inputs with the elements feature Signed-off-by: Christian Decker --- bitcoin/tx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bitcoin/tx.c b/bitcoin/tx.c index f4f44c9f2..5f9237f04 100644 --- a/bitcoin/tx.c +++ b/bitcoin/tx.c @@ -81,6 +81,7 @@ int bitcoin_tx_add_input(struct bitcoin_tx *tx, const struct bitcoin_txid *txid, sizeof(struct bitcoin_txid), outnum, sequence, script, tal_bytelen(script), NULL /* Empty witness stack */, &input); + input->features = is_elements ? WALLY_TX_IS_ELEMENTS : 0; wally_tx_add_input(tx->wtx, input); wally_tx_input_free(input);