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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2017-12-20 16:25:04 +10:30 committed by Christian Decker
parent 070929f92e
commit abafcae5a6

View file

@ -5,7 +5,7 @@
#include <lightningd/lightningd.h>
/* 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,