@@ -284,9 +284,9 @@ impl_writeable!(ChannelInfo, 0, {
284
284
285
285
/// By default, these methods do nothing. A user may override them to write to their metadata as needed
286
286
impl ChannelScorer for ChannelInfo {
287
- fn calculate_minimum_fee_penalty ( & self , channel_id : u64 ) { }
288
- fn score_payment_failure ( & self , route : Vec < Vec < RouteHop > > , faulty_nodes : Vec < PublicKey > ) { }
289
- fn score_payment_success ( & self , route : Vec < Vec < RouteHop > > ) { }
287
+ fn calculate_minimum_fee_penalty ( & self , _channel_id : u64 ) { }
288
+ fn score_payment_failure ( & self , _route : Vec < Vec < RouteHop > > , _faulty_nodes : Vec < PublicKey > ) { }
289
+ fn score_payment_success ( & self , _route : Vec < Vec < RouteHop > > ) { }
290
290
}
291
291
292
292
/// Fees for routing via a given channel or a node
@@ -511,9 +511,9 @@ impl std::fmt::Display for NetworkGraph {
511
511
}
512
512
513
513
impl ChannelScorer for NetworkGraph {
514
- fn calculate_minimum_fee_penalty ( & self , channel_id : u64 ) { }
515
- fn score_payment_success ( & self , route : Vec < Vec < RouteHop > > ) { }
516
- fn score_payment_failure ( & self , route : Vec < Vec < RouteHop > > , faulty_nodes : Vec < PublicKey > ) { }
514
+ fn calculate_minimum_fee_penalty ( & self , _channel_id : u64 ) { }
515
+ fn score_payment_success ( & self , _route : Vec < Vec < RouteHop > > ) { }
516
+ fn score_payment_failure ( & self , _route : Vec < Vec < RouteHop > > , _faulty_nodes : Vec < PublicKey > ) { }
517
517
}
518
518
519
519
impl NetworkGraph {
0 commit comments