Skip to content

Commit c6ea701

Browse files
committed
f - only emit SpliceFailed when initiator
1 parent fcd8cb3 commit c6ea701

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6906,6 +6906,7 @@ where
69066906
// Capture splice funding failed information if we have an active splice negotiation
69076907
let splice_funding_failed = self.pending_splice.as_mut()
69086908
.and_then(|pending_splice| pending_splice.funding_negotiation.take())
6909+
.filter(|funding_negotiation| funding_negotiation.is_initiator())
69096910
.map(|funding_negotiation| {
69106911
// Create SpliceFundingFailed for any active splice negotiation during shutdown
69116912
let (funding_txo, channel_type) = match &funding_negotiation {

0 commit comments

Comments
 (0)