From 71ebc86206d2e3011e2c0e6d2b022018183dbcb2 Mon Sep 17 00:00:00 2001 From: lemunozm Date: Wed, 3 Apr 2024 10:38:41 +0200 Subject: [PATCH] correct feeder encoding --- runtime/common/src/oracle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/common/src/oracle.rs b/runtime/common/src/oracle.rs index 8ecc509c92..6045f0ceec 100644 --- a/runtime/common/src/oracle.rs +++ b/runtime/common/src/oracle.rs @@ -52,7 +52,7 @@ impl Ord for Feeder { fn cmp(&self, other: &Self) -> sp_std::cmp::Ordering { // Since the inner object could not be Ord, // we compare their encoded representations - self.0.encode().cmp(&other.encode()) + self.0.encode().cmp(&other.0.encode()) } }