Browse Source

psbt: Remove workaround for now-fixed wally tx flag behaviour

Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com>
bump-pyln-proto
Jon Griffiths 5 years ago
committed by Rusty Russell
parent
commit
21ee2c3a9c
  1. 9
      bitcoin/tx.c

9
bitcoin/tx.c

@ -551,14 +551,7 @@ struct bitcoin_tx *pull_bitcoin_tx(const tal_t *ctx, const u8 **cursor,
tal_add_destructor(tx, bitcoin_tx_destroy);
/* For whatever reason the length computation gets upset if we tell it
* that we are using elements. It wants to discover it on its own, NO
* CLUES! (Ms. Doyle)
*
* https://github.com/ElementsProject/libwally-core/issues/139
*/
wally_tx_get_length(tx->wtx, flags & ~WALLY_TX_FLAG_USE_ELEMENTS,
&wsize);
wally_tx_get_length(tx->wtx, flags, &wsize);
tx->chainparams = chainparams;

Loading…
Cancel
Save