df: persist channel open preference to database

technically we don't need this info after the channel opens, but for any
subsequent RBF (and maybe splice?) we need to remember what the
open/accept peer signaled
This commit is contained in:
niftynei
2023-01-10 14:59:55 -06:00
committed by Alex Myers
parent 3eecbaee4d
commit f05d450098
7 changed files with 17 additions and 5 deletions

View File

@@ -2680,7 +2680,7 @@ static struct command_result *json_openchannel_update(struct command *cmd,
type_to_string(tmpctx, struct wally_psbt,
psbt));
if (channel->open_attempt->req_confirmed_ins) {
if (channel->req_confirmed_ins) {
struct psbt_validator *pv;
struct command_result *ret;