Add PartialEq to structs

This commit is contained in:
Luke Parker
2022-05-25 00:21:01 -04:00
parent d10c6e16dc
commit d67d6f2f98
13 changed files with 28 additions and 25 deletions

View File

@@ -255,7 +255,7 @@ impl fmt::Display for State {
}
pub trait StateMachine {
type Signature;
type Signature: Clone + PartialEq + fmt::Debug;
/// Perform the preprocessing round required in order to sign
/// Returns a byte vector which must be transmitted to all parties selected for this signing