From abafcae5a6bea14d5c0fd7a64c32dc29a25d4482 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 20 Dec 2017 16:25:04 +1030 Subject: [PATCH] lightningd/build_utxos: don't tell them they can pass NULL for change. They can't: wallet_select_coins() doesn't allow it. Signed-off-by: Rusty Russell --- lightningd/build_utxos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/build_utxos.h b/lightningd/build_utxos.h index f97726335..ac59c69b9 100644 --- a/lightningd/build_utxos.h +++ b/lightningd/build_utxos.h @@ -5,7 +5,7 @@ #include /* Reserves UTXOs to build tx which pays this amount; returns NULL if - * impossible. *change_satoshis 0 if no change needed. */ + * impossible. */ const struct utxo **build_utxos(const tal_t *ctx, struct lightningd *ld, u64 satoshi_out, u32 feerate_per_kw, u64 dust_limit,