@@ -49,7 +49,7 @@ use crate::ln::features::Bolt11InvoiceFeatures;
4949use crate::routing::gossip::NetworkGraph;
5050use crate::routing::router::{BlindedTail, DefaultRouter, InFlightHtlcs, Path, Payee, PaymentParameters, Route, RouteParameters, Router};
5151use crate::routing::scoring::{ProbabilisticScorer, ProbabilisticScoringFeeParameters};
52- use crate::ln::channelmanager_utils ::{check_incoming_htlc_cltv, create_recv_pending_htlc_info, create_fwd_pending_htlc_info, decode_incoming_update_add_htlc_onion, InboundOnionErr, NextPacketDetails};
52+ use crate::ln::onion_payment ::{check_incoming_htlc_cltv, create_recv_pending_htlc_info, create_fwd_pending_htlc_info, decode_incoming_update_add_htlc_onion, InboundOnionErr, NextPacketDetails};
5353use crate::ln::msgs;
5454use crate::ln::onion_utils;
5555use crate::ln::onion_utils::HTLCFailReason;
@@ -130,7 +130,7 @@ pub enum PendingHTLCRouting {
130130		/// Used to track when we should expire pending HTLCs that go unclaimed.
131131		incoming_cltv_expiry: u32,
132132		/// Shared secret derived using a phantom node secret key. If this field is Some, the
133- 		/// payment was sent to a phantom node (one hop behond  the current node), but can be
133+ 		/// payment was sent to a phantom node (one hop beyond  the current node), but can be
134134		/// settled by this node.
135135		phantom_shared_secret: Option<[u8; 32]>,
136136		/// See [`RecipientOnionFields::custom_tlvs`] for more info.
0 commit comments