Skip to content

Commit 94875fa

Browse files
committed
f grammar
1 parent 2ec1991 commit 94875fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/util/events.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ impl MaybeReadable for Event {
390390
// If the event is of unknown type, assume it was written with `write_tlv_fields`,
391391
// which prefixes the whole thing with a length BigSize. Because the event is
392392
// 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
393+
// fields that are even. Thus, we avoid using `read_tlv_fields` and simply read
394394
// exactly the number of bytes specified, ignoring them entirely.
395395
let tlv_len: BigSize = Readable::read(reader)?;
396396
FixedLengthReader::new(reader, tlv_len.0)

0 commit comments

Comments
 (0)