We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01d9799 commit e58e972Copy full SHA for e58e972
lightning/src/ln/channelmanager.rs
@@ -7280,6 +7280,7 @@ where
7280
entry.insert(PendingOutboundPayment::Retryable {
7281
retry_strategy: Retry::Attempts(0),
7282
attempts: PaymentAttempts::new(),
7283
+ route_params: None,
7284
session_privs: [session_priv_bytes].iter().map(|a| *a).collect(),
7285
payment_hash: htlc.payment_hash,
7286
payment_secret,
lightning/src/ln/outbound_payment.rs
@@ -42,6 +42,7 @@ pub(crate) enum PendingOutboundPayment {
42
Retryable {
43
retry_strategy: Retry,
44
attempts: PaymentAttempts,
45
+ route_params: Option<RouteParameters>,
46
session_privs: HashSet<[u8; 32]>,
47
payment_hash: PaymentHash,
48
payment_secret: Option<PaymentSecret>,
@@ -523,6 +524,7 @@ impl OutboundPayments {
523
524
let payment = entry.insert(PendingOutboundPayment::Retryable {
525
retry_strategy,
526
527
+ route_params,
528
session_privs: HashSet::new(),
529
pending_amt_msat: 0,
530
pending_fee_msat: Some(0),
@@ -930,6 +932,7 @@ impl_writeable_tlv_based_enum_upgradable!(PendingOutboundPayment,
930
932
(4, payment_secret, option),
931
933
(not_written, attempts, (static_value, PaymentAttempts::new())),
934
(6, total_msat, required),
935
+ (7, route_params, option),
936
(8, pending_amt_msat, required),
937
(10, starting_block_height, required),
938
},
0 commit comments