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

Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com>
This commit is contained in:
Jon Griffiths 2020-07-16 17:33:16 +12:00 committed by Rusty Russell
parent 95d3d65c62
commit 21ee2c3a9c

View File

@ -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;