File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2298,12 +2298,12 @@ impl FundingScope {
22982298 .funding_pubkey = counterparty_funding_pubkey;
22992299
23002300 // New reserve values are based on the new channel value and are v2-specific
2301- let counterparty_selected_channel_reserve_satoshis = Some(get_v2_channel_reserve_satoshis(
2301+ let counterparty_selected_channel_reserve_satoshis =
2302+ Some(get_v2_channel_reserve_satoshis(post_channel_value, MIN_CHAN_DUST_LIMIT_SATOSHIS));
2303+ let holder_selected_channel_reserve_satoshis = get_v2_channel_reserve_satoshis(
23022304 post_channel_value,
23032305 context.counterparty_dust_limit_satoshis,
2304- ));
2305- let holder_selected_channel_reserve_satoshis =
2306- get_v2_channel_reserve_satoshis(post_channel_value, MIN_CHAN_DUST_LIMIT_SATOSHIS);
2306+ );
23072307
23082308 Self {
23092309 channel_transaction_parameters: post_channel_transaction_parameters,
You can’t perform that action at this time.
0 commit comments