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

@@ -38,7 +38,7 @@ use crate::frost::MultisigError;
mod multisig;
#[allow(non_snake_case)]
#[derive(Clone, Debug)]
#[derive(Clone, PartialEq, Debug)]
struct SendOutput {
R: EdwardsPoint,
dest: EdwardsPoint,
@@ -149,7 +149,7 @@ async fn prepare_inputs<R: RngCore + CryptoRng>(
Ok(signable)
}
#[derive(Clone, Debug)]
#[derive(Clone, PartialEq, Debug)]
pub struct SignableTransaction {
inputs: Vec<SpendableOutput>,
payments: Vec<(Address, u64)>,