Skip to content

Commit 7708cca

Browse files
committed
Make process_onion_failure_inner module-private
There's no reason for anything outside of `onion_utils` to call an `_inner` method, so it shouldn't be pub.
1 parent 85185d8 commit 7708cca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/ln/onion_utils.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1036,8 +1036,7 @@ where
10361036

10371037
/// Process failure we got back from upstream on a payment we sent (implying htlc_source is an
10381038
/// OutboundRoute).
1039-
#[inline]
1040-
pub(super) fn process_onion_failure_inner<T: secp256k1::Signing, L: Deref>(
1039+
fn process_onion_failure_inner<T: secp256k1::Signing, L: Deref>(
10411040
secp_ctx: &Secp256k1<T>, logger: &L, path: &Path, outer_session_priv: &SecretKey,
10421041
inner_session_priv: Option<&SecretKey>, mut encrypted_packet: OnionErrorPacket,
10431042
) -> DecodedOnionFailure

0 commit comments

Comments
 (0)