@@ -977,6 +977,7 @@ pub type SimpleArcChannelManager<M, T, F, L> = ChannelManager<
977977 Arc<DefaultRouter<
978978 Arc<NetworkGraph<Arc<L>>>,
979979 Arc<L>,
980+ Arc<KeysManager>,
980981 Arc<RwLock<ProbabilisticScorer<Arc<NetworkGraph<Arc<L>>>, Arc<L>>>>,
981982 ProbabilisticScoringFeeParameters,
982983 ProbabilisticScorer<Arc<NetworkGraph<Arc<L>>>, Arc<L>>,
@@ -1007,6 +1008,7 @@ pub type SimpleRefChannelManager<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, M, T, F, L> =
10071008 &'e DefaultRouter<
10081009 &'f NetworkGraph<&'g L>,
10091010 &'g L,
1011+ &'c KeysManager,
10101012 &'h RwLock<ProbabilisticScorer<&'f NetworkGraph<&'g L>, &'g L>>,
10111013 ProbabilisticScoringFeeParameters,
10121014 ProbabilisticScorer<&'f NetworkGraph<&'g L>, &'g L>
@@ -7971,7 +7973,6 @@ where
79717973 /// Errors if the `MessageRouter` errors or returns an empty `Vec`.
79727974 fn create_blinded_path(&self) -> Result<BlindedPath, ()> {
79737975 let recipient = self.get_our_node_id();
7974- let entropy_source = self.entropy_source.deref();
79757976 let secp_ctx = &self.secp_ctx;
79767977
79777978 let peers = self.per_peer_state.read().unwrap()
@@ -7981,7 +7982,7 @@ where
79817982 .collect::<Vec<_>>();
79827983
79837984 self.router
7984- .create_blinded_paths(recipient, peers, entropy_source, secp_ctx)
7985+ .create_blinded_paths(recipient, peers, secp_ctx)
79857986 .and_then(|paths| paths.into_iter().next().ok_or(()))
79867987 }
79877988
@@ -7990,7 +7991,6 @@ where
79907991 fn create_blinded_payment_paths(
79917992 &self, amount_msats: u64, payment_secret: PaymentSecret
79927993 ) -> Result<Vec<(BlindedPayInfo, BlindedPath)>, ()> {
7993- let entropy_source = self.entropy_source.deref();
79947994 let secp_ctx = &self.secp_ctx;
79957995
79967996 let first_hops = self.list_usable_channels();
@@ -8005,7 +8005,7 @@ where
80058005 },
80068006 };
80078007 self.router.create_blinded_payment_paths(
8008- payee_node_id, first_hops, payee_tlvs, amount_msats, entropy_source, secp_ctx
8008+ payee_node_id, first_hops, payee_tlvs, amount_msats, secp_ctx
80098009 )
80108010 }
80118011
0 commit comments