diff --git a/common/gossmap.c b/common/gossmap.c index da92b4d6b7b0..ac88d315246d 100644 --- a/common/gossmap.c +++ b/common/gossmap.c @@ -1634,6 +1634,8 @@ void gossmap_iter_fast_forward(const struct gossmap *map, if (be32_to_cpu(ghdr.timestamp) >= timestamp) break; + + iter->offset += be16_to_cpu(ghdr.len) + sizeof(ghdr); } }