Drop unicode in documentation 2023-07-no-rustdoc-unicode
authorMatt Corallo <git@bluematt.me>
Sun, 30 Jul 2023 17:10:38 +0000 (17:10 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 30 Jul 2023 17:12:08 +0000 (17:12 +0000)
Javadocs refuse unicode and as our rustdocs get copied over to Java
bindings (and thus get run through javadocs) we can't have unicode
in our rustdocs.

lightning/src/routing/scoring.rs

index 615cc1a19eb0ef4d52aac39b71a13aa7776793ee..9e5e3e45b27eabdb485c578c3721e1d8477cf139 100644 (file)
@@ -483,7 +483,7 @@ pub struct ProbabilisticScoringFeeParameters {
        pub manual_node_penalties: HashMap<NodeId, u64>,
 
        /// This penalty is applied when `htlc_maximum_msat` is equal to or larger than half of the
-       /// channel's capacity, (ie. htlc_maximum_msat  0.5 * channel_capacity) which makes us
+       /// channel's capacity, (ie. htlc_maximum_msat >= 0.5 * channel_capacity) which makes us
        /// prefer nodes with a smaller `htlc_maximum_msat`. We treat such nodes preferentially
        /// as this makes balance discovery attacks harder to execute, thereby creating an incentive
        /// to restrict `htlc_maximum_msat` and improve privacy.