Skip to content

Commit 59527b4

Browse files
committed
f comment
1 parent 310ef96 commit 59527b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/routing/network_graph.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,12 @@ impl<C: Deref , L: Deref > RoutingMessageHandler for NetGraphMsgHandler<C, L> wh
378378
// Per spec, the initial `first_blocknum` needs to be <= the query's `first_blocknum`
379379
// and subsequent `first_blocknum`s must be >= the prior reply's `first_blocknum`.
380380
//
381-
// Additionally, c-lightning versions < 0.10 require that the `first_blocknum of each
381+
// Additionally, c-lightning versions < 0.10 require that the `first_blocknum` of each
382382
// reply is >= the previous reply's `first_blocknum` and either exactly the previous
383383
// reply's `first_blocknum + number_of_blocks` or exactly one greater. This is a
384384
// significant diversion from the requirements set by the spec, and, in case of blocks
385-
// with no channel opens (eg empty blocks), requires that we use the previous value and
386-
// *not* derive the first_blocknum from the actual first block of the reply.
385+
// with no channel opens (e.g. empty blocks), requires that we use the previous value
386+
// and *not* derive the first_blocknum from the actual first block of the reply.
387387
let first_blocknum = prev_batch_endblock;
388388

389389
// Each message carries the number of blocks (from the `first_blocknum`) its contents

0 commit comments

Comments
 (0)