From 95a494c72f14c8b8835e34d85e23934d0adbbb13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C5=A1a=20Tomi=C4=87?= Date: Fri, 16 Aug 2024 18:32:13 +0200 Subject: [PATCH] fix test --- rs/decentralization/src/network.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rs/decentralization/src/network.rs b/rs/decentralization/src/network.rs index 26201b541..d0015a421 100644 --- a/rs/decentralization/src/network.rs +++ b/rs/decentralization/src/network.rs @@ -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::>(); let resized_subnet = resized_subnet .with_nodes( self.include_nodes