dual-funding: bugfix, swapped commitment/funding feerates

Found via a protocol test, huzzah. And also whoops.
This commit is contained in:
niftynei
2021-04-09 14:55:03 -05:00
committed by Rusty Russell
parent d5bf6bb994
commit 0ae2b0c33d

View File

@@ -1107,8 +1107,8 @@ wallet_commit_channel(struct lightningd *ld,
struct amount_sat total_funding,
struct amount_sat our_funding,
struct channel_info *channel_info,
u32 commitment_feerate,
u32 funding_feerate,
u32 commitment_feerate,
const u8 *our_upfront_shutdown_script,
const u8 *remote_upfront_shutdown_script,
struct wally_psbt *psbt STEALS)