@@ -49,7 +49,7 @@ use crate::ln::features::Bolt11InvoiceFeatures;
49
49
use crate::routing::gossip::NetworkGraph;
50
50
use crate::routing::router::{BlindedTail, DefaultRouter, InFlightHtlcs, Path, Payee, PaymentParameters, Route, RouteParameters, Router};
51
51
use 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};
53
53
use crate::ln::msgs;
54
54
use crate::ln::onion_utils;
55
55
use crate::ln::onion_utils::HTLCFailReason;
@@ -130,7 +130,7 @@ pub enum PendingHTLCRouting {
130
130
/// Used to track when we should expire pending HTLCs that go unclaimed.
131
131
incoming_cltv_expiry: u32,
132
132
/// 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
134
134
/// settled by this node.
135
135
phantom_shared_secret: Option<[u8; 32]>,
136
136
/// See [`RecipientOnionFields::custom_tlvs`] for more info.
0 commit comments