Browse Source

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>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
abafcae5a6
  1. 2
      lightningd/build_utxos.h

2
lightningd/build_utxos.h

@ -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,

Loading…
Cancel
Save