Skip to content

Commit ff16536

Browse files
committed
fix formatting
1 parent 14ceaa8 commit ff16536

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ impl Node {
11501150
},
11511151
}
11521152
}
1153-
1153+
11541154
/// Returns the address of a peer if we're already connected to them.
11551155
fn get_peer_address_if_connected(&self, node_id: &PublicKey) -> Option<SocketAddress> {
11561156
// First check if we have an active connection with an address
@@ -1238,7 +1238,6 @@ impl Node {
12381238
return Err(Error::ChannelCreationFailed);
12391239
}
12401240
}
1241-
12421241

12431242
/// Manually sync the LDK and BDK wallets with the current chain state and update the fee rate
12441243
/// cache.
@@ -1542,7 +1541,7 @@ impl Node {
15421541

15431542
/// Creates a digital ECDSA signature of a message with the node's secret key.
15441543
///
1545-
/// A receiver knowing the corresponding `PublicKey` (e.g. the nodes id) and the message
1544+
/// A receiver knowing the corresponding `PublicKey` (e.g. the node's id) and the message
15461545
/// can be sure that the signature was generated by the caller.
15471546
/// Signatures are EC recoverable, meaning that given the message and the
15481547
/// signature the `PublicKey` of the signer can be extracted.

0 commit comments

Comments
 (0)