Skip to content

Commit b370eb0

Browse files
committed
remove unused methods [squash]
1 parent d6caa86 commit b370eb0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lightning/src/routing/scoring.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -517,10 +517,6 @@ impl ChannelLiquidities {
517517
self.0.get(short_channel_id)
518518
}
519519

520-
fn get_mut(&mut self, short_channel_id: &u64) -> Option<&mut ChannelLiquidity> {
521-
self.0.get_mut(short_channel_id)
522-
}
523-
524520
fn insert(&mut self, short_channel_id: u64, liquidity: ChannelLiquidity) -> Option<ChannelLiquidity> {
525521
self.0.insert(short_channel_id, liquidity)
526522
}
@@ -532,10 +528,6 @@ impl ChannelLiquidities {
532528
fn entry(&mut self, short_channel_id: u64) -> Entry<u64, ChannelLiquidity, RandomState> {
533529
self.0.entry(short_channel_id)
534530
}
535-
536-
fn serialized_length(&self) -> usize {
537-
self.0.serialized_length()
538-
}
539531
}
540532

541533

0 commit comments

Comments
 (0)