File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6853,6 +6853,7 @@ where
6853
6853
// Capture splice funding failed information if we have an active splice negotiation
6854
6854
let splice_funding_failed = self.pending_splice.as_mut()
6855
6855
.and_then(|pending_splice| pending_splice.funding_negotiation.take())
6856
+ .filter(|funding_negotiation| funding_negotiation.is_initiator())
6856
6857
.map(|funding_negotiation| {
6857
6858
// Create SpliceFundingFailed for any active splice negotiation during shutdown
6858
6859
let (funding_txo, channel_type) = match &funding_negotiation {
@@ -6862,7 +6863,7 @@ where
6862
6863
FundingNegotiation::ConstructingTransaction { funding, .. } => {
6863
6864
(funding.get_funding_txo().map(|txo| txo.into_bitcoin_outpoint()), Some(funding.get_channel_type().clone()))
6864
6865
},
6865
- FundingNegotiation::AwaitingSignatures { funding } => {
6866
+ FundingNegotiation::AwaitingSignatures { funding, .. } => {
6866
6867
(funding.get_funding_txo().map(|txo| txo.into_bitcoin_outpoint()), Some(funding.get_channel_type().clone()))
6867
6868
},
6868
6869
};
You can’t perform that action at this time.
0 commit comments