Skip to content

Commit 131b35e

Browse files
committed
Whitespace fixes
1 parent 43de15e commit 131b35e

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

lightning/src/ln/channelmanager.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15070,8 +15070,8 @@ mod tests {
1507015070
let nodes = create_network(2, &node_cfgs, &node_chanmgrs);
1507115071

1507215072
create_announced_chan_between_nodes(&nodes, 0, 1);
15073-
15074-
// Since we do not send peer storage, we manually simulate receiving a dummy
15073+
15074+
// Since we do not send peer storage, we manually simulate receiving a dummy
1507515075
// `PeerStorage` from the channel partner.
1507615076
nodes[0].node.handle_peer_storage(nodes[1].node.get_our_node_id(), msgs::PeerStorage{data: vec![0; 100]});
1507715077

lightning/src/ln/msgs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ pub struct UpdateFulfillHTLC {
728728
/// A [`peer_storage`] message that can be sent to or received from a peer.
729729
///
730730
/// This message is used to distribute backup data to peers.
731-
/// If data is lost or corrupted, users can retrieve it through [`PeerStorageRetrieval`]
731+
/// If data is lost or corrupted, users can retrieve it through [`PeerStorageRetrieval`]
732732
/// to recover critical information, such as channel states, for fund recovery.
733733
///
734734
/// [`peer_storage`] is used to send our own encrypted backup data to a peer.
@@ -743,7 +743,7 @@ pub struct PeerStorage {
743743
/// A [`peer_storage_retrieval`] message that can be sent to or received from a peer.
744744
///
745745
/// This message is sent to peers for whom we store backup data.
746-
/// If we receive this message, it indicates that the peer had stored our backup data.
746+
/// If we receive this message, it indicates that the peer had stored our backup data.
747747
/// This data can be used for fund recovery in case of data loss.
748748
///
749749
/// [`peer_storage_retrieval`] is used to send the most recent backup of the peer.

lightning/src/ln/offers_tests.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2405,4 +2405,3 @@ fn no_double_pay_with_stale_channelmanager() {
24052405
// generated in response to the duplicate invoice.
24062406
assert!(nodes[0].node.get_and_clear_pending_events().is_empty());
24072407
}
2408-

0 commit comments

Comments
 (0)