projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use CLOSED_CHANNEL_UPDATE_ID in force closing ChannelMonitorUpdates
[rust-lightning]
/
lightning
/
src
/
ln
/
outbound_payment.rs
diff --git
a/lightning/src/ln/outbound_payment.rs
b/lightning/src/ln/outbound_payment.rs
index 291a17fdafa540539eb62925becb92de3678b31e..6ede956b7d52df3a035d0fd308d505bcf2650bc5 100644
(file)
--- a/
lightning/src/ln/outbound_payment.rs
+++ b/
lightning/src/ln/outbound_payment.rs
@@
-79,7
+79,9
@@
impl PendingOutboundPayment {
}
fn is_auto_retryable_now(&self) -> bool {
match self {
}
fn is_auto_retryable_now(&self) -> bool {
match self {
- PendingOutboundPayment::Retryable { retry_strategy: Some(strategy), attempts, .. } => {
+ PendingOutboundPayment::Retryable {
+ retry_strategy: Some(strategy), attempts, payment_params: Some(_), ..
+ } => {
strategy.is_retryable_now(&attempts)
},
_ => false,
strategy.is_retryable_now(&attempts)
},
_ => false,
@@
-531,7
+533,7
@@
impl OutboundPayments {
}));
break
}
}));
break
}
- }
+ }
else { debug_assert!(false); }
}
}
core::mem::drop(outbounds);
}
}
core::mem::drop(outbounds);