Skip to content

Commit

Permalink
correct feeder encoding (#1793)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm authored Apr 3, 2024
1 parent ccb6d3f commit a35def2
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
Expand Up @@ -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())
}
}

Expand Down

0 comments on commit a35def2

Please sign in to comment.