Skip to content

Commit d287bf0

Browse files
committed
Fix lint warning in lightning when fuzzing
1 parent 09b1344 commit d287bf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lightning/src/ln/channelmanager.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ use crate::types::features::{Bolt12InvoiceFeatures, ChannelFeatures, ChannelType
5454
#[cfg(any(feature = "_test_utils", test))]
5555
use crate::types::features::Bolt11InvoiceFeatures;
5656
use crate::routing::router::{BlindedTail, InFlightHtlcs, Path, Payee, PaymentParameters, RouteParameters, Router};
57-
#[cfg(any(test, fuzzing))]
57+
#[cfg(test)]
5858
use crate::routing::router::Route;
5959
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, InboundHTLCErr, NextPacketDetails};
6060
use crate::ln::msgs;

lightning/src/ln/outbound_payment.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ impl OutboundPayments {
790790
best_block_height, logger, pending_events, &send_payment_along_path)
791791
}
792792

793-
#[cfg(any(test, fuzzing))]
793+
#[cfg(test)]
794794
pub(super) fn send_payment_with_route<ES: Deref, NS: Deref, F>(
795795
&self, route: &Route, payment_hash: PaymentHash, recipient_onion: RecipientOnionFields,
796796
payment_id: PaymentId, entropy_source: &ES, node_signer: &NS, best_block_height: u32,

0 commit comments

Comments
 (0)