We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e7f241 commit 92556c8Copy full SHA for 92556c8
lightning/src/ln/channel.rs
@@ -2174,11 +2174,11 @@ impl<Signer: Sign> Channel<Signer> {
2174
2175
/// Returns transaction if there is pending funding transaction that is yet to broadcast
2176
pub fn unbroadcasted_funding(&self) -> Option<Transaction> {
2177
- if self.channel_state & (ChannelState::FundingCreated as u32) != 0 {
2178
- self.funding_transaction.clone()
2179
- } else {
2180
- None
2181
- }
+ if self.channel_state & (ChannelState::FundingCreated as u32) != 0 {
+ self.funding_transaction.clone()
+ } else {
+ None
+ }
2182
}
2183
2184
/// Returns a HTLCStats about inbound pending htlcs
0 commit comments