]> git.bitcoin.ninja Git - rust-lightning/commitdiff
f - Reword DirectedChannelLiquidity docs
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 1 Feb 2022 16:29:35 +0000 (10:29 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 2 Feb 2022 17:13:10 +0000 (11:13 -0600)
lightning/src/routing/scoring.rs

index efbc5ce43dc12ec60dbb93527ac75e4609a98436..5028543461eb79bac599dac53631a978ec4ce7c0 100644 (file)
@@ -534,8 +534,8 @@ struct ChannelLiquidity<T: Time> {
        last_updated: T,
 }
 
-/// A view of [`ChannelLiquidity`] in one direction assuming a certain channel capacity and decayed
-/// with a given half life.
+/// A snapshot of [`ChannelLiquidity`] in one direction assuming a certain channel capacity and
+/// decayed with a given half life.
 struct DirectedChannelLiquidity<L: Deref<Target = u64>, T: Time, U: Deref<Target = T>> {
        min_liquidity_offset_msat: L,
        max_liquidity_offset_msat: L,