Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correct feeder encoding
Browse files Browse the repository at this point in the history
lemunozm committed Apr 3, 2024

Verified

This commit was signed with the committer’s verified signature.
lemunozm Luis Enrique Muñoz Martín
1 parent 1a9e385 commit 71ebc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/common/src/oracle.rs
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ impl<O: OriginTrait> Ord for Feeder<O> {
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())
}
}

0 comments on commit 71ebc86

Please sign in to comment.