From f8c669b2393c22879b93bd2301b8d6f9fc32b0d4 Mon Sep 17 00:00:00 2001 From: Alexey Pashinov Date: Mon, 12 Feb 2024 14:54:04 +0100 Subject: [PATCH] Fix warnings --- src/transport/models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transport/models.rs b/src/transport/models.rs index ff92254a8..0a0036d3b 100644 --- a/src/transport/models.rs +++ b/src/transport/models.rs @@ -162,7 +162,7 @@ impl Eq for RawTransaction {} impl PartialOrd for RawTransaction { fn partial_cmp(&self, other: &Self) -> Option { - self.data.lt.partial_cmp(&other.data.lt) + Some(self.cmp(other)) } }