We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 033bdeb commit ace7b21Copy full SHA for ace7b21
lightning/src/routing/router.rs
@@ -144,6 +144,7 @@ pub trait Router: MessageRouter {
144
amount_msats: u64, entropy_source: &ES, secp_ctx: &Secp256k1<T>
145
) -> Result<Vec<(BlindedPayInfo, BlindedPath)>, ()> {
146
first_hops.into_iter()
147
+ .filter(|details| details.is_public)
148
.filter(|details| details.counterparty.features.supports_route_blinding())
149
.filter(|details| amount_msats >= details.inbound_htlc_minimum_msat.unwrap_or(0))
150
.filter(|details| amount_msats <= details.inbound_htlc_maximum_msat.unwrap_or(0))
0 commit comments