@@ -10311,7 +10311,7 @@ mod tests {
10311
10311
// Make sure A's dust limit is as we expect.
10312
10312
let open_channel_msg = node_a_chan.get_open_channel(ChainHash::using_genesis_block(network));
10313
10313
let node_b_node_id = PublicKey::from_secret_key(&secp_ctx, &SecretKey::from_slice(&[7; 32]).unwrap());
10314
- let mut node_b_chan = InboundV1Channel::<&TestKeysInterface>::new(&feeest, &&keys_provider, &&keys_provider, node_b_node_id, &channelmanager::provided_channel_type_features(&config), &channelmanager::provided_init_features(&config), &open_channel_msg, 7, &config, 0, &&logger, /*is_0conf=*/false).unwrap();
10314
+ let node_b_chan = InboundV1Channel::<&TestKeysInterface>::new(&feeest, &&keys_provider, &&keys_provider, node_b_node_id, &channelmanager::provided_channel_type_features(&config), &channelmanager::provided_init_features(&config), &open_channel_msg, 7, &config, 0, &&logger, /*is_0conf=*/false).unwrap();
10315
10315
10316
10316
// Node B --> Node A: accept channel, explicitly setting B's dust limit.
10317
10317
let mut accept_channel_msg = node_b_chan.accept_inbound_channel();
@@ -10443,7 +10443,7 @@ mod tests {
10443
10443
// Create Node B's channel by receiving Node A's open_channel message
10444
10444
let open_channel_msg = node_a_chan.get_open_channel(chain_hash);
10445
10445
let node_b_node_id = PublicKey::from_secret_key(&secp_ctx, &SecretKey::from_slice(&[7; 32]).unwrap());
10446
- let mut node_b_chan = InboundV1Channel::<&TestKeysInterface>::new(&feeest, &&keys_provider, &&keys_provider, node_b_node_id, &channelmanager::provided_channel_type_features(&config), &channelmanager::provided_init_features(&config), &open_channel_msg, 7, &config, 0, &&logger, /*is_0conf=*/false).unwrap();
10446
+ let node_b_chan = InboundV1Channel::<&TestKeysInterface>::new(&feeest, &&keys_provider, &&keys_provider, node_b_node_id, &channelmanager::provided_channel_type_features(&config), &channelmanager::provided_init_features(&config), &open_channel_msg, 7, &config, 0, &&logger, /*is_0conf=*/false).unwrap();
10447
10447
10448
10448
// Node B --> Node A: accept channel
10449
10449
let accept_channel_msg = node_b_chan.accept_inbound_channel();
@@ -10630,7 +10630,7 @@ mod tests {
10630
10630
// Make sure A's dust limit is as we expect.
10631
10631
let open_channel_msg = node_a_chan.get_open_channel(ChainHash::using_genesis_block(network));
10632
10632
let node_b_node_id = PublicKey::from_secret_key(&secp_ctx, &SecretKey::from_slice(&[7; 32]).unwrap());
10633
- let mut node_b_chan = InboundV1Channel::<&TestKeysInterface>::new(&feeest, &&keys_provider, &&keys_provider, node_b_node_id, &channelmanager::provided_channel_type_features(&config), &channelmanager::provided_init_features(&config), &open_channel_msg, 7, &config, 0, &&logger, /*is_0conf=*/false).unwrap();
10633
+ let node_b_chan = InboundV1Channel::<&TestKeysInterface>::new(&feeest, &&keys_provider, &&keys_provider, node_b_node_id, &channelmanager::provided_channel_type_features(&config), &channelmanager::provided_init_features(&config), &open_channel_msg, 7, &config, 0, &&logger, /*is_0conf=*/false).unwrap();
10634
10634
10635
10635
// Node B --> Node A: accept channel, explicitly setting B's dust limit.
10636
10636
let mut accept_channel_msg = node_b_chan.accept_inbound_channel();
@@ -11810,7 +11810,7 @@ mod tests {
11810
11810
11811
11811
let open_channel_msg = node_a_chan.get_open_channel(ChainHash::using_genesis_block(network));
11812
11812
let node_b_node_id = PublicKey::from_secret_key(&secp_ctx, &SecretKey::from_slice(&[7; 32]).unwrap());
11813
- let mut node_b_chan = InboundV1Channel::<&TestKeysInterface>::new(
11813
+ let node_b_chan = InboundV1Channel::<&TestKeysInterface>::new(
11814
11814
&feeest,
11815
11815
&&keys_provider,
11816
11816
&&keys_provider,
0 commit comments