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:
committed by
Alex Myers
parent
9d98740e18
commit
1df1300cc9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user