projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8e7f241
)
Drop spurious whitespace in channel.rs
author
Matt Corallo
<git@bluematt.me>
Wed, 16 Feb 2022 21:12:22 +0000
(21:12 +0000)
committer
Matt Corallo
<git@bluematt.me>
Wed, 16 Feb 2022 21:12:22 +0000
(21:12 +0000)
lightning/src/ln/channel.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/channel.rs
b/lightning/src/ln/channel.rs
index fb9213142ae740e4b487786be3e50c7a9268807b..8e8254bdf9a84bb90de7dedfe84430ed94492d0b 100644
(file)
--- a/
lightning/src/ln/channel.rs
+++ b/
lightning/src/ln/channel.rs
@@
-2174,11
+2174,11
@@
impl<Signer: Sign> Channel<Signer> {
/// Returns transaction if there is pending funding transaction that is yet to broadcast
pub fn unbroadcasted_funding(&self) -> Option<Transaction> {
/// Returns transaction if there is pending funding transaction that is yet to broadcast
pub fn unbroadcasted_funding(&self) -> Option<Transaction> {
-
if self.channel_state & (ChannelState::FundingCreated as u32) != 0 {
-
self.funding_transaction.clone()
-
} else {
-
None
-
}
+ if self.channel_state & (ChannelState::FundingCreated as u32) != 0 {
+ self.funding_transaction.clone()
+ } else {
+ None
+ }
}
/// Returns a HTLCStats about inbound pending htlcs
}
/// Returns a HTLCStats about inbound pending htlcs