From 21ee2c3a9ca8d6072ae4077c25f958156e4e5eed Mon Sep 17 00:00:00 2001 From: Jon Griffiths Date: Thu, 16 Jul 2020 17:33:16 +1200 Subject: [PATCH] psbt: Remove workaround for now-fixed wally tx flag behaviour Signed-off-by: Jon Griffiths --- bitcoin/tx.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bitcoin/tx.c b/bitcoin/tx.c index 2df6643fc..fb8bade65 100644 --- a/bitcoin/tx.c +++ b/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;