mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
built_utxos needs to calculate fees for figuring out how many utxos to use, so fix that logic and rely on it. We make build_utxos return a pointer array, so funding_tx can simply hand that to permute_inputs. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>