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 7ae0df4 commit 8e078d0Copy full SHA for 8e078d0
crates/fiber-lib/src/cch/actor.rs
@@ -428,7 +428,9 @@ impl CchState {
428
payment_preimage: Option<Hash256>,
429
status: CchOutgoingPaymentStatus,
430
) -> Result<()> {
431
- // Currently only handle lnd payment events which is for order from fiber to lightning.
+ // When the order is not from fiber to lightning, the payment is sent to fiber. Since Fiber
432
+ // events are handled in `handle_pending_received_tlc_notification` and
433
+ // `handle_settled_tlc_notification`, skip the event here.
434
if !order.is_from_fiber_to_lightning() {
435
return Ok(());
436
}
0 commit comments