Skip to content

Commit f2280e5

Browse files
committed
Fix two compiler warnings introduced in a51dbb4
1 parent 90816dd commit f2280e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ln/channelmanager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4471,7 +4471,7 @@ mod tests {
44714471

44724472
#[test]
44734473
fn test_update_fee_that_funder_cannot_afford() {
4474-
let mut nodes = create_network(2);
4474+
let nodes = create_network(2);
44754475
let channel_value = 1888;
44764476
let chan = create_announced_chan_between_nodes_with_value(&nodes, 0, 1, channel_value, 700000);
44774477
let channel_id = chan.2;
@@ -4506,7 +4506,7 @@ mod tests {
45064506

45074507
let update2_msg = get_htlc_update_msgs!(nodes[0], nodes[1].node.get_our_node_id());
45084508

4509-
nodes[1].node.handle_update_fee(&nodes[0].node.get_our_node_id(), &update2_msg.update_fee.unwrap());
4509+
nodes[1].node.handle_update_fee(&nodes[0].node.get_our_node_id(), &update2_msg.update_fee.unwrap()).unwrap();
45104510

45114511
//While producing the commitment_signed response after handling a received update_fee request the
45124512
//check to see if the funder, who sent the update_fee request, can afford the new fee (funder_balance >= fee+channel_reserve)

0 commit comments

Comments
 (0)