Skip to content

Commit

Permalink
chore: minor doc change based on peer review
Browse files Browse the repository at this point in the history
  • Loading branch information
bochaco committed Feb 15, 2024
1 parent 864e890 commit 8d72df3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sn_transfers/src/wallet/data_payments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ pub struct Payment {
pub struct PaymentDetails {
/// The node we pay
pub recipient: MainPubkey,
/// The PeerId (as bytes) of the node we pay
/// The PeerId (as bytes) of the node we pay.
/// The PeerId is not stored here to avoid direct dependency with libp2p,
/// plus it doesn't implement Serialize/Deserialize traits.
pub peer_id_bytes: Vec<u8>,
/// The transfer we send to it and its amount as reference
pub transfer: (Transfer, NanoTokens),
Expand Down

0 comments on commit 8d72df3

Please sign in to comment.