df: for dryruns, inform on requires-confirmation value

This commit is contained in:
niftynei
2023-01-10 15:06:25 -06:00
committed by Alex Myers
parent cea7fe3f05
commit 0da2729ce6
3 changed files with 7 additions and 2 deletions

View File

@@ -3015,9 +3015,10 @@ static void opener_start(struct state *state, u8 *msg)
msg = towire_dualopend_dry_run(NULL, &state->channel_id,
tx_state->opener_funding,
tx_state->accepter_funding,
state->require_confirmed_inputs,
a_tlv->will_fund
? &a_tlv->will_fund->lease_rates : NULL);
? &a_tlv->will_fund->lease_rates
: NULL);
wire_sync_write(REQ_FD, take(msg));

View File

@@ -242,6 +242,7 @@ msgtype,dualopend_dry_run,7026
msgdata,dualopend_dry_run,channel_id,channel_id,
msgdata,dualopend_dry_run,our_funding,amount_sat,
msgdata,dualopend_dry_run,their_funding,amount_sat,
msgdata,dualopend_dry_run,requires_confirmed_inputs,bool,
# must go last because of embedded tu32
msgdata,dualopend_dry_run,lease_rates,?lease_rates,
Can't render this file because it has a wrong number of fields in line 16.