f sp
[rust-lightning] / lightning / src / routing / scoring.rs
index 25ea012e506dc0647bd74701b89e14c2b46219cc..ed290eedceac101a350d12784d7ebe4f7260ab98 100644 (file)
@@ -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);
 }