mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-12 02:08:15 +01:00
add Eq, PartialOrd, Ord, Hash to ShortChannelId
This commit is contained in:
parent
a1e8c1c102
commit
451fb77e5b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
pub struct ShortChannelId(u64);
|
||||||
|
|
||||||
impl Serialize for ShortChannelId {
|
impl Serialize for ShortChannelId {
|
||||||
|
|
Loading…
Add table
Reference in a new issue