mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-13 14:52:21 +01:00
Whitespace fixes
This commit is contained in:
parent
43de15ed8a
commit
131b35e13f
3 changed files with 4 additions and 5 deletions
|
@ -15070,8 +15070,8 @@ mod tests {
|
|||
let nodes = create_network(2, &node_cfgs, &node_chanmgrs);
|
||||
|
||||
create_announced_chan_between_nodes(&nodes, 0, 1);
|
||||
|
||||
// Since we do not send peer storage, we manually simulate receiving a dummy
|
||||
|
||||
// Since we do not send peer storage, we manually simulate receiving a dummy
|
||||
// `PeerStorage` from the channel partner.
|
||||
nodes[0].node.handle_peer_storage(nodes[1].node.get_our_node_id(), msgs::PeerStorage{data: vec![0; 100]});
|
||||
|
||||
|
|
|
@ -728,7 +728,7 @@ pub struct UpdateFulfillHTLC {
|
|||
/// A [`peer_storage`] message that can be sent to or received from a peer.
|
||||
///
|
||||
/// This message is used to distribute backup data to peers.
|
||||
/// If data is lost or corrupted, users can retrieve it through [`PeerStorageRetrieval`]
|
||||
/// If data is lost or corrupted, users can retrieve it through [`PeerStorageRetrieval`]
|
||||
/// to recover critical information, such as channel states, for fund recovery.
|
||||
///
|
||||
/// [`peer_storage`] is used to send our own encrypted backup data to a peer.
|
||||
|
@ -743,7 +743,7 @@ pub struct PeerStorage {
|
|||
/// A [`peer_storage_retrieval`] message that can be sent to or received from a peer.
|
||||
///
|
||||
/// This message is sent to peers for whom we store backup data.
|
||||
/// If we receive this message, it indicates that the peer had stored our backup data.
|
||||
/// If we receive this message, it indicates that the peer had stored our backup data.
|
||||
/// This data can be used for fund recovery in case of data loss.
|
||||
///
|
||||
/// [`peer_storage_retrieval`] is used to send the most recent backup of the peer.
|
||||
|
|
|
@ -2405,4 +2405,3 @@ fn no_double_pay_with_stale_channelmanager() {
|
|||
// generated in response to the duplicate invoice.
|
||||
assert!(nodes[0].node.get_and_clear_pending_events().is_empty());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue