Skip to content

Commit

Permalink
add Eq, PartialOrd, Ord, Hash to ShortChannelId
Browse files Browse the repository at this point in the history
  • Loading branch information
daywalker90 committed Sep 10, 2023
1 parent 990096f commit 5cf310f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cln-rpc/src/primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl std::ops::Sub for Amount {
}
}

#[derive(Clone, Copy, Debug, PartialEq)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct ShortChannelId(u64);

impl Serialize for ShortChannelId {
Expand Down

0 comments on commit 5cf310f

Please sign in to comment.