Skip to content

Commit

Permalink
Hasher constraint in run_session sub by `UnitFinalizationHandler::H…
Browse files Browse the repository at this point in the history
…asher`
  • Loading branch information
fixxxedpoint committed May 7, 2024
1 parent c9461d2 commit ecd23ec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions consensus/src/member.rs
Original file line number Diff line number Diff line change
Expand Up @@ -627,12 +627,11 @@ where
/// subject to change. Implement [`FinalizationHandler<DP::Output>`] instead, unless you absolutely know
/// what you are doing.
pub async fn run_session<
H: Hasher,
DP: DataProvider,
UFH: UnitFinalizationHandler<Data = DP::Output, Hasher = H>,
UFH: UnitFinalizationHandler<Data = DP::Output>,
US: AsyncWrite + Send + Sync + 'static,
UL: AsyncRead + Send + Sync + 'static,
N: Network<NetworkData<H, DP::Output, MK::Signature, MK::PartialMultisignature>>,
N: Network<NetworkData<UFH::Hasher, DP::Output, MK::Signature, MK::PartialMultisignature>>,
SH: SpawnHandle,
MK: MultiKeychain,
>(
Expand Down

0 comments on commit ecd23ec

Please sign in to comment.