X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning%2Fsrc%2Frouting%2Fscoring.rs;h=ed290eedceac101a350d12784d7ebe4f7260ab98;hb=4ccd7f6d7a8dfc57c0cdb2c3f9c51943152429a3;hp=25ea012e506dc0647bd74701b89e14c2b46219cc;hpb=9a3256eb47df201c5197d21560550ad87a9cab69;p=rust-lightning diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index 25ea012e5..ed290eedc 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -121,10 +121,10 @@ pub trait ScoreUpdate { /// Handles updating channel penalties after a probe over the given path succeeded. fn probe_successful(&mut self, path: &Path, duration_since_epoch: Duration); - /// Scorers may wich to reduce their certainty of channel liquidity information over time. + /// Scorers may wish to reduce their certainty of channel liquidity information over time. /// Thus, this method is provided to allow scorers to observe the passage of time - the holder /// of this object should call this method regularly (generally via the - /// `lightning-background-processor` trait). + /// `lightning-background-processor` crate). fn decay_liquidity_certainty(&mut self, duration_since_epoch: Duration); }