Fix formula for max_byzantine_nodes
@@ -159,7 +159,7 @@ impl Transaction for TxTime {
}
// The largest number of Byzantine nodes.
- let max_byzantine_nodes = validator_keys.len() / 3;
+ let max_byzantine_nodes = (validator_keys.len() - 1) / 3;
if validators_time.len() <= 2 * max_byzantine_nodes {
return;
}
