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 4dc373335f
commit 6602e85424

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>,