From ac25b48797572925ba48ccb0a8f4603410613a75 Mon Sep 17 00:00:00 2001 From: alessandrokonrad <35738310+alessandrokonrad@users.noreply.github.com> Date: Wed, 14 Sep 2022 20:02:57 +0200 Subject: [PATCH] fix(primitives): Add missing PartialOrd and Ord to TransactionInput (#191) --- pallas-primitives/src/alonzo/model.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallas-primitives/src/alonzo/model.rs b/pallas-primitives/src/alonzo/model.rs index 7553fdf..33918c7 100644 --- a/pallas-primitives/src/alonzo/model.rs +++ b/pallas-primitives/src/alonzo/model.rs @@ -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>,