diff --git a/src/party.rs b/src/party.rs index 146a11f..c9300c4 100644 --- a/src/party.rs +++ b/src/party.rs @@ -1004,15 +1004,16 @@ pub(crate) mod tests { assert_eq!(event_receiver.recv().await.unwrap(), PartyEvent::Finalize); } + // Type aggregating `receiver from` and `sender into` party, which are + // intended for external system to communicate with the party. + type PartyExternalChannels = (UnboundedReceiver, UnboundedSender); + // Create test parties with predefined generics, based on config. fn create_parties( cfg: BPConConfig, ) -> ( Vec>, - Vec<( - UnboundedReceiver, - UnboundedSender, - )>, + Vec, ) { let value_selector = MockValueSelector; let leader_elector = Box::new(DefaultLeaderElector::new());