We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06e87c9 commit b439740Copy full SHA for b439740
lightning/src/util/ser.rs
@@ -386,7 +386,7 @@ impl Readable for BigSize {
386
/// The lightning protocol uses u16s for lengths in most cases. As our serialization framework
387
/// primarily targets that, we must as well. However, because we may serialize objects that have
388
/// more than 65K entries, we need to be able to store larger values. Thus, we define a variable
389
-/// length integer here which is backwards-compatible but treats 0xffff as "read eight more bytes".
+/// length integer here that is backwards-compatible but treats 0xffff as "read eight more bytes".
390
///
391
/// To ensure we only have one valid encoding per value, we add 0xffff to values written as eight
392
/// bytes. Thus, 0xfffe is serialized as 0xfffe, whereas 0xffff is serialized as
0 commit comments