mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
elements: Mark inputs with the elements feature
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
541d8db2a6
commit
5e3b27c306
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user