Skip to content

Commit c64c932

Browse files
committed
f import const
1 parent 52a24a6 commit c64c932

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/outbound_payment.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ use bitcoin::secp256k1::{self, Secp256k1, SecretKey};
1616
use crate::chain::keysinterface::{EntropySource, NodeSigner, Recipient};
1717
use crate::ln::{PaymentHash, PaymentPreimage, PaymentSecret};
1818
use crate::ln::channelmanager::{ChannelDetails, HTLCSource, IDEMPOTENCY_TIMEOUT_TICKS, MIN_HTLC_RELAY_HOLDING_CELL_MILLIS, PaymentId};
19+
use crate::ln::channelmanager::MIN_FINAL_CLTV_EXPIRY_DELTA as LDK_DEFAULT_MIN_FINAL_CLTV_EXPIRY_DELTA;
1920
use crate::ln::msgs::DecodeError;
2021
use crate::ln::onion_utils::HTLCFailReason;
2122
use crate::routing::router::{InFlightHtlcs, PaymentParameters, Route, RouteHop, RouteParameters, RoutePath, Router};
@@ -490,7 +491,7 @@ impl OutboundPayments {
490491
if let Some(delta) = params.final_cltv_expiry_delta { delta }
491492
else {
492493
debug_assert!(false, "We always set the final_cltv_expiry_delta when a path fails");
493-
super::channelmanager::MIN_FINAL_CLTV_EXPIRY_DELTA.into()
494+
LDK_DEFAULT_MIN_FINAL_CLTV_EXPIRY_DELTA.into()
494495
},
495496
payment_params: params.clone(),
496497
}));

0 commit comments

Comments
 (0)