lightning/plugins/spender
Rusty Russell dd76d60b0d dual-funding: don't override default if multifundchannel doesn't set feerate.
mfc->feerate_str is *never* NULL, since we set it in getfeerate; this is
confusing, as many places check for NULL.

Indeed, the logic in perform_fundpsbt() was *wrong* in this case: it used
`normal` (if it was NULL, which it never was) instead of `opening` to fundpsbt.

And the correct thing is for multifundchannel to not use a string here at
all, but to use the exact feerate it is counting on (even the same
string may have different values now if a block has come in).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-06-29 11:28:47 -04:00
..
fundchannel.c openingd: Add reserve to fundchannel and multifundchannel 2022-09-21 11:25:47 +02:00
fundchannel.h plugins/spender/fundchannel.c: Make fundchannel a thin layer around multifundchannel. 2020-09-10 15:28:50 +09:30
main.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
multifundchannel.c dual-funding: don't override default if multifundchannel doesn't set feerate. 2023-06-29 11:28:47 -04:00
multifundchannel.h fix: build with gcc 13 with enum and int mismatch 2023-04-27 07:41:27 +09:30
multiwithdraw.c Update libwally to 0.8.8, support PSBTv2 2023-03-23 16:10:55 +10:30
multiwithdraw.h plugins/spender/multiwithdraw.c: Implement multiwithdraw command. 2020-09-09 20:36:08 +09:30
openchannel.c Update libwally to 0.8.8, support PSBTv2 2023-03-23 16:10:55 +10:30
openchannel.h mfc-df: after sigs are collected, go sign the psbt 2020-11-23 12:41:05 -06:00