Skip to content

Commit

Permalink
fix compiling warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Jan 27, 2025
1 parent d94814c commit f5fdbc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fiber/tests/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3468,7 +3468,7 @@ async fn test_forward_payment_channel_disabled() {
true,
)
.await;
let [mut node_a, mut node_b, mut node_c] = nodes.try_into().expect("3 nodes");
let [node_a, node_b, node_c] = nodes.try_into().expect("3 nodes");
let [_channel_a_b, channel_b_c] = channels.try_into().expect("2 channels");

tokio::time::sleep(tokio::time::Duration::from_millis(1000)).await;
Expand Down Expand Up @@ -5154,7 +5154,7 @@ async fn test_send_payment_with_disable_channel() {
let amounts = vec![(100000000000, 100000000000); nodes_num - 1];
let (nodes, channels) =
create_n_nodes_with_established_channel(&amounts, nodes_num, true).await;
let [mut node_0, _node_1, mut node_2, mut node_3] = nodes.try_into().expect("4 nodes");
let [node_0, _node_1, node_2, node_3] = nodes.try_into().expect("4 nodes");

// begin to set channel disable, but do not notify the network
node_2.disable_channel_stealthy(channels[1]).await;
Expand Down

0 comments on commit f5fdbc0

Please sign in to comment.