fix(primitives): Add missing PartialOrd and Ord to TransactionInput (#191)

This commit is contained in:
alessandrokonrad 2022-09-14 20:02:57 +02:00 committed by GitHub
parent 2f7d108b53
commit ac25b48797
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ pub struct Header {
pub body_signature: Bytes,
}
#[derive(Serialize, Deserialize, Encode, Decode, Debug, PartialEq, Eq, Clone)]
#[derive(Serialize, Deserialize, Encode, Decode, Debug, PartialEq, Eq, PartialOrd, Ord, Clone)]
pub struct TransactionInput {
#[n(0)]
pub transaction_id: Hash<32>,