mirror of https://github.com/poanetwork/hbbft.git
updated comment and fn name
This commit is contained in:
parent
50ba18b0dd
commit
c1a03c28d1
|
@ -150,10 +150,10 @@ fn test_agreement(mut network: TestNetwork) -> BTreeMap<NodeId, TestNode> {
|
||||||
network.nodes
|
network.nodes
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Test 3 correct and 1 faulty node. The faulty node simply negates all other
|
/// Test 4 correct nodes. One of the nodes, #3, hasn't finished broadcast yet
|
||||||
/// nodes' inputs.
|
/// and gets an input 0 as a result.
|
||||||
#[test]
|
#[test]
|
||||||
fn test_agreement_and_validity_with_1_faulty_node() {
|
fn test_agreement_and_validity_with_1_late_node() {
|
||||||
let mut network = TestNetwork::new(4);
|
let mut network = TestNetwork::new(4);
|
||||||
|
|
||||||
network.set_input(NodeId(0), true);
|
network.set_input(NodeId(0), true);
|
||||||
|
|
Loading…
Reference in New Issue