gossip_store: don't need to check for truncated amounts.

That's actually caught by the gossmap load now.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2025-02-10 16:37:52 +10:30
committed by Alex Myers
parent 9d98740e18
commit 1df1300cc9
3 changed files with 4 additions and 24 deletions

View File

@@ -1275,7 +1275,7 @@ struct gossmap *gossmap_load_(const tal_t *ctx,
logcb(cbarg, LOG_BROKEN,
"gossip_store only processed %"PRIu64
" bytes of %"PRIu64" (expected %"PRIu64")",
map->map_size, map->map_end, expected_len);
map->map_end, map->map_size, expected_len);
return tal_free(map);
}
return map;