change ActiveLeaves to contain at most one activated (#3525)

* change ActiveLeaves to contain at most one activated

* fix test
This commit is contained in:
Andronik Ordian authored and GitHub committed 2021-07-27 16:45:15 +02:00
1 parent 6519ba987c
commit e1be821fe1
14 files changed
+183 -259

No files matched your search

+1 -1
View File
@@ -401,7 +401,7 @@ where
tracing::trace!(
target: LOG_TARGET,
action = "ActiveLeaves",
num_activated = %activated.len(),
has_activated = activated.is_some(),
num_deactivated = %deactivated.len(),
);