mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
Fix testing in quorum check, find_index_in_quorum_group(..) >= 0 (#1029)
This commit is contained in:
parent
243a73c47a
commit
cedcc30911
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ namespace service_nodes
|
|||
if (good > 0)
|
||||
LOG_PRINT_L2(good << " of " << total << " service nodes are active and passing checks; no state change votes required");
|
||||
}
|
||||
else if (!tested_myself_once_per_block && find_index_in_quorum_group(quorum->workers, my_keys->pub))
|
||||
else if (!tested_myself_once_per_block && (find_index_in_quorum_group(quorum->workers, my_keys->pub) >= 0))
|
||||
{
|
||||
// NOTE: Not in validating quorum , check if we're the ones
|
||||
// being tested. If so, check if we would be decommissioned
|
||||
|
|
Loading…
Reference in a new issue