Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
Remove stake_table_digest for now as it creates complications.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippecamacho committed May 24, 2023
1 parent f0e6cf7 commit cba190f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quorum_certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub struct StakeTableDigest<A: AggregateableSignatureSchemes>(Vec<A::MessageUnit
// TODO: refactor
//#[derive(CanonicalSerialize, CanonicalDeserialize)]
pub struct QCParams<A: AggregateableSignatureSchemes> {
pub stake_table_digest: StakeTableDigest<A>,
// pub stake_table_digest: StakeTableDigest<A>,
pub stake_entries: Vec<StakeTableEntry<A>>,
pub threshold: U256,
pub agg_sig_pp: A::PublicParameter,
Expand Down Expand Up @@ -236,7 +236,7 @@ mod tests {
stake_amount: U256::from(7u8),
};
let qc_pp = QCParams::<$aggsig> {
stake_table_digest: StakeTableDigest::<$aggsig>(vec![12u8, 2u8, 7u8, 8u8]),
//stake_table_digest: StakeTableDigest::<$aggsig>(vec![12u8, 2u8, 7u8, 8u8]),
stake_entries: vec![entry1, entry2, entry3],
threshold: U256::from(10u8),
agg_sig_pp,
Expand Down

0 comments on commit cba190f

Please sign in to comment.