Skip to content

Commit

Permalink
rename channelmanager-utils to onion_payment
Browse files Browse the repository at this point in the history
  • Loading branch information
Evanfeenstra committed Nov 20, 2023
1 parent 3df33e1 commit bfeded7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lightning/src/ln/channelmanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ use crate::ln::features::Bolt11InvoiceFeatures;
use crate::routing::gossip::NetworkGraph;
use crate::routing::router::{BlindedTail, DefaultRouter, InFlightHtlcs, Path, Payee, PaymentParameters, Route, RouteParameters, Router};
use crate::routing::scoring::{ProbabilisticScorer, ProbabilisticScoringFeeParameters};
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};
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};
use crate::ln::msgs;
use crate::ln::onion_utils;
use crate::ln::onion_utils::HTLCFailReason;
Expand Down Expand Up @@ -130,7 +130,7 @@ pub enum PendingHTLCRouting {
/// Used to track when we should expire pending HTLCs that go unclaimed.
incoming_cltv_expiry: u32,
/// Shared secret derived using a phantom node secret key. If this field is Some, the
/// payment was sent to a phantom node (one hop behond the current node), but can be
/// payment was sent to a phantom node (one hop beyond the current node), but can be
/// settled by this node.
phantom_shared_secret: Option<[u8; 32]>,
/// See [`RecipientOnionFields::custom_tlvs`] for more info.
Expand Down
2 changes: 1 addition & 1 deletion lightning/src/ln/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#[macro_use]
pub mod functional_test_utils;

pub mod channelmanager_utils;
pub mod onion_payment;
pub mod channelmanager;
pub mod inbound_payment;
pub mod msgs;
Expand Down
File renamed without changes.

0 comments on commit bfeded7

Please sign in to comment.