X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Fln%2Fchannel_id.rs;h=cdbcd302929c70b1a2a5c59dd51da2d22df39e2e;hb=0456b0e311a4996b00d715f9211adcabc06b37c7;hp=621ebf0c460333446e22d2a28bd7bdc4b724dae8;hpb=2c4f82478e83ccfc8948b24d7cb14ef9913e011f;p=rust-lightning diff --git a/lightning/src/ln/channel_id.rs b/lightning/src/ln/channel_id.rs index 621ebf0c..cdbcd302 100644 --- a/lightning/src/ln/channel_id.rs +++ b/lightning/src/ln/channel_id.rs @@ -21,7 +21,9 @@ use core::fmt; use core::ops::Deref; /// A unique 32-byte identifier for a channel. -/// Depending on how the ID is generated, several varieties are distinguished (but all are stored as 32 bytes): _v1_ and _temporary_. +/// Depending on how the ID is generated, several varieties are distinguished +/// (but all are stored as 32 bytes): +/// _v1_ and _temporary_. /// A _v1_ channel ID is generated based on funding tx outpoint (txid & index). /// A _temporary_ ID is generated randomly. /// (Later revocation-point-based _v2_ is a possibility.)