diff --git a/tendermint/src/proposal/sign_proposal.rs b/tendermint/src/proposal/sign_proposal.rs index 9c3e4a0e7..fb4f0ff21 100644 --- a/tendermint/src/proposal/sign_proposal.rs +++ b/tendermint/src/proposal/sign_proposal.rs @@ -30,7 +30,7 @@ impl SignProposalRequest { } /// SignedProposalResponse is response containing a signed proposal or an error -#[derive(Clone, PartialEq, Debug)] +#[derive(Clone, PartialEq, Eq, Debug)] pub struct SignedProposalResponse { /// Proposal pub proposal: Option, diff --git a/tendermint/src/public_key/pub_key_response.rs b/tendermint/src/public_key/pub_key_response.rs index 5a00028f1..e974912f1 100644 --- a/tendermint/src/public_key/pub_key_response.rs +++ b/tendermint/src/public_key/pub_key_response.rs @@ -1,7 +1,7 @@ use crate::{privval::RemoteSignerError, PublicKey}; /// PubKeyResponse -#[derive(Clone, PartialEq, Debug)] +#[derive(Clone, PartialEq, Eq, Debug)] // Todo: either pub_key OR error is present pub struct PubKeyResponse { /// Public key diff --git a/tendermint/src/vote/sign_vote.rs b/tendermint/src/vote/sign_vote.rs index c1bcbcd66..234a813cc 100644 --- a/tendermint/src/vote/sign_vote.rs +++ b/tendermint/src/vote/sign_vote.rs @@ -29,7 +29,7 @@ impl SignVoteRequest { } /// SignedVoteResponse is a response containing a signed vote or an error -#[derive(Clone, PartialEq, Debug)] +#[derive(Clone, PartialEq, Eq, Debug)] pub struct SignedVoteResponse { /// Optional Vote pub vote: Option,