We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ec1991 commit 94875faCopy full SHA for 94875fa
lightning/src/util/events.rs
@@ -390,7 +390,7 @@ impl MaybeReadable for Event {
390
// If the event is of unknown type, assume it was written with `write_tlv_fields`,
391
// which prefixes the whole thing with a length BigSize. Because the event is
392
// odd-type unknown, we should treat it as `Ok(None)` even if it has some TLV
393
- // fields which are event. Thus, we avoid using `read_tlv_fields` and simply read
+ // fields that are even. Thus, we avoid using `read_tlv_fields` and simply read
394
// exactly the number of bytes specified, ignoring them entirely.
395
let tlv_len: BigSize = Readable::read(reader)?;
396
FixedLengthReader::new(reader, tlv_len.0)
0 commit comments