From: Jeffrey Czyz Date: Wed, 16 Oct 2024 20:18:17 +0000 (-0500) Subject: Correct comments in avoids_saturating_channels X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=572fab75918c8165b6de4cb947c25f0e124e6c63;p=rust-lightning Correct comments in avoids_saturating_channels --- diff --git a/lightning/src/routing/router.rs b/lightning/src/routing/router.rs index 231fc9e9c..299d3b181 100644 --- a/lightning/src/routing/router.rs +++ b/lightning/src/routing/router.rs @@ -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),