-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Peer Storage Feature – Part 2 #3623
base: main
Are you sure you want to change the base?
Changes from 1 commit
4661f15
ead620a
2d6ad40
6cc739f
ebff8f7
5a5f6cf
00e7e65
ac89510
fc47e92
d8c0403
c8d181f
6b287d9
d80b377
0597864
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,8 @@ use crate::prelude::*; | |
/// ## Example | ||
/// ``` | ||
/// use lightning::ln::our_peer_storage::OurPeerStorage; | ||
/// let key = [0u8; 32]; | ||
/// use lightning::chain::chainmonitor::PeerStorageKey; | ||
/// let key = PeerStorageKey::new([0u8; 32]); | ||
/// let our_peer_storage = OurPeerStorage::create_from_data(key.clone(), vec![1,2,3]); | ||
/// let decrypted_data = our_peer_storage.decrypt_our_peer_storage(key).unwrap(); | ||
/// assert_eq!(decrypted_data, vec![1 , 2, 3]); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: Stray whitespace after There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't seem fixed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Really sorry, I did not include this in the fixup. |
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Add whitespaces after
,
s invec!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't seem so?