projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8d4186
)
f - Drop comment about zero-amount invoices
author
Jeffrey Czyz
<jkczyz@gmail.com>
Tue, 1 Feb 2022 23:17:24 +0000
(17:17 -0600)
committer
Jeffrey Czyz
<jkczyz@gmail.com>
Tue, 1 Feb 2022 23:17:24 +0000
(17:17 -0600)
lightning/src/routing/network_graph.rs
patch
|
blob
|
history
diff --git
a/lightning/src/routing/network_graph.rs
b/lightning/src/routing/network_graph.rs
index 66c656155617a5ef543405f61089ff6fddf1d17f..632754eae1b8fb85e8050256f678c249c47f3608 100644
(file)
--- a/
lightning/src/routing/network_graph.rs
+++ b/
lightning/src/routing/network_graph.rs
@@
-808,7
+808,7
@@
pub enum EffectiveCapacity {
capacity_msat: u64,
},
/// A capacity sufficient to route any payment, typically used for private channels provided by
- /// an invoice
, though may not be the case for zero-amount invoices
.
+ /// an invoice.
Infinite,
/// A capacity that is unknown possibly because either the chain state is unavailable to know
/// the total capacity or the `htlc_maximum_msat` was not advertised on the gossip network.