Drop unicode in documentation 2023-07-0.0.116-java-bindings
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:10:38 +0000 (17:10 +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 b47cbbef75be1e1552d4238d74d52b63202c3886..e418e5d718911867fa64f6267786c984132d4199 100644 (file)
@@ -524,7 +524,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.