The easiest way to do this is to play with the 'wallet_tx' semantics and have 'amount' have meaning even when 'all_funds' is set. Note that we change the string 'Cannot afford funding transaction' to 'Cannot afford transaction' as this code is also used for withdrawls. Inspired-by: molz on #c-lightning Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| run-commit_tx.c | ||
| run-cryptomsg.c | ||
| run-find_my_path.c | ||
| run-funding_tx.c | ||
| run-key_derive.c | ||
| run-param.c | ||