]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Correct comments in avoids_saturating_channels
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 16 Oct 2024 20:18:17 +0000 (15:18 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 18 Oct 2024 23:28:40 +0000 (18:28 -0500)
lightning/src/routing/router.rs

index 231fc9e9ca7bf69c8f646a906de841b610372028..299d3b1810c1525e1eaa9a38aa8030fca74bb7a9 100644 (file)
@@ -7357,7 +7357,7 @@ mod tests {
                let decay_params = ProbabilisticScoringDecayParameters::default();
                let scorer = ProbabilisticScorer::new(decay_params, &*network_graph, Arc::clone(&logger));
 
-               // Set the fee on channel 13 to 100% to match channel 4 giving us two equivalent paths (us
+               // Set the fee on channel 13 to 0% to match channel 4 giving us two equivalent paths (us
                // -> node 7 -> node2 and us -> node 1 -> node 2) which we should balance over.
                update_channel(&gossip_sync, &secp_ctx, &privkeys[1], UnsignedChannelUpdate {
                        chain_hash: ChainHash::using_genesis_block(Network::Testnet),