Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa-tomic committed Aug 16, 2024
1 parent 9a88b91 commit 95a494c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rs/decentralization/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,11 @@ impl SubnetChangeRequest {
self.subnet.clone()
};

let available_nodes = available_nodes
.iter()
.cloned()
.chain(resized_subnet.removed_nodes_desc.iter().map(|(n, _)| n.clone()))
.collect::<Vec<_>>();
let resized_subnet = resized_subnet
.with_nodes(
self.include_nodes
Expand Down

0 comments on commit 95a494c

Please sign in to comment.