diff --git a/sn_transfers/src/wallet/data_payments.rs b/sn_transfers/src/wallet/data_payments.rs index c4121db928..c316ec5fff 100644 --- a/sn_transfers/src/wallet/data_payments.rs +++ b/sn_transfers/src/wallet/data_payments.rs @@ -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, /// The transfer we send to it and its amount as reference pub transfer: (Transfer, NanoTokens),