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 d8f5dde commit 2a5119aCopy full SHA for 2a5119a
lightning-invoice/src/payment.rs
@@ -489,7 +489,7 @@ where
489
}
490
},
491
Event::PaymentFailed { payment_hash, .. } => {
492
- self.payment_cache.lock().unwrap().remove(payment_hash);
+ self.remove_cached_payment(&payment_hash);
493
494
Event::PaymentPathSuccessful { path, .. } => {
495
let path = path.iter().collect::<Vec<_>>();
0 commit comments