common: make funding_tx and withdraw_tx share UTXO code.

They both do the same thing: convert utxos into tx inputs.  Share code.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-12-03 09:32:11 +10:30
committed by Christian Decker
parent a046af4416
commit 23540fe956
9 changed files with 79 additions and 30 deletions

View File

@@ -18,6 +18,7 @@ LIGHTNINGD_TEST_COMMON_OBJS := \
common/memleak.o \
common/msg_queue.o \
common/utils.o \
common/utxo.o \
common/type_to_string.o \
common/permute_tx.o