Skip to content

Commit a217aba

Browse files
committed
f - rustfmt function signature
1 parent 5d51b25 commit a217aba

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lightning/src/ln/channel.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8418,9 +8418,9 @@ impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
84188418
self.unfunded_context.transaction_number() == INITIAL_COMMITMENT_NUMBER
84198419
}
84208420

8421-
pub fn get_open_channel<L: Deref>(&mut self, chain_hash: ChainHash, _logger: &L) -> Option<msgs::OpenChannel>
8422-
where L::Target: Logger
8423-
{
8421+
pub fn get_open_channel<L: Deref>(
8422+
&mut self, chain_hash: ChainHash, _logger: &L
8423+
) -> Option<msgs::OpenChannel> where L::Target: Logger {
84248424
if !self.context.is_outbound() {
84258425
panic!("Tried to open a channel for an inbound channel?");
84268426
}
@@ -8533,9 +8533,9 @@ impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
85338533
/// Indicates that the signer may have some signatures for us, so we should retry if we're
85348534
/// blocked.
85358535
#[cfg(async_signing)]
8536-
pub fn signer_maybe_unblocked<L: Deref>(&mut self, chain_hash: ChainHash, logger: &L) -> (Option<msgs::OpenChannel>, Option<msgs::FundingCreated>)
8537-
where L::Target: Logger
8538-
{
8536+
pub fn signer_maybe_unblocked<L: Deref>(
8537+
&mut self, chain_hash: ChainHash, logger: &L
8538+
) -> (Option<msgs::OpenChannel>, Option<msgs::FundingCreated>) where L::Target: Logger {
85398539
// If we were pending a commitment point, retry the signer and advance to an
85408540
// available state.
85418541
if self.unfunded_context.holder_commitment_point.is_none() {

0 commit comments

Comments
 (0)