Use only the failed amount when retrying payments, not the full amt
[rust-lightning] / lightning / src / ln / channelmanager.rs
index 59d1dbfc93fe2d617107ed084de9d48883c4c657..e9b7fb94930c672f23317f3cb19ca3e9c3c37709 100644 (file)
@@ -7363,7 +7363,7 @@ where
                                                                        entry.insert(PendingOutboundPayment::Retryable {
                                                                                retry_strategy: None,
                                                                                attempts: PaymentAttempts::new(),
-                                                                               route_params: None,
+                                                                               payment_params: None,
                                                                                session_privs: [session_priv_bytes].iter().map(|a| *a).collect(),
                                                                                payment_hash: htlc.payment_hash,
                                                                                payment_secret,