Skip to content

Commit 235fd26

Browse files
committed
f drop constant expiration param
1 parent 2e9fd04 commit 235fd26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9723,8 +9723,7 @@ where
97239723
let (onion_message, context) =
97249724
self.hrn_resolver.resolve_name(payment_id, name, &*self.entropy_source)?;
97259725
let reply_paths = self.create_blinded_paths(MessageContext::DNSResolver(context))?;
9726-
let expiration = StaleExpiration::TimerTicks(2);
9727-
self.pending_outbound_payments.add_new_awaiting_offer(payment_id, expiration, retry_strategy, max_total_routing_fee_msat, amount_msats)?;
9726+
self.pending_outbound_payments.add_new_awaiting_offer(payment_id, retry_strategy, max_total_routing_fee_msat, amount_msats)?;
97289727
let message_params = dns_resolvers
97299728
.iter()
97309729
.flat_map(|destination| reply_paths.iter().map(move |path| (path, destination)))

0 commit comments

Comments
 (0)