mirror of https://github.com/poanetwork/hbbft.git
parent
b0e3ad5d4c
commit
98aad993e0
|
@ -86,7 +86,7 @@
|
||||||
//! pub_keys.clone(),
|
//! pub_keys.clone(),
|
||||||
//! threshold,
|
//! threshold,
|
||||||
//! &mut rng,
|
//! &mut rng,
|
||||||
//! ).unwrap_or_else(|_| panic!("Failed to create `SyncKeyGen` instance for node #{}", id));
|
//! ).unwrap_or_else(|_| panic!("Failed to create `SyncKeyGen` instance for node #{}", id));
|
||||||
//! nodes.insert(id, sync_key_gen);
|
//! nodes.insert(id, sync_key_gen);
|
||||||
//! parts.push((id, opt_part.unwrap())); // Would be `None` for observer nodes.
|
//! parts.push((id, opt_part.unwrap())); // Would be `None` for observer nodes.
|
||||||
//! }
|
//! }
|
||||||
|
|
Loading…
Reference in New Issue