mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-03-30 14:45:52 +00:00
fix: Pass 2 hash_size was overwriting ADVERT-derived values
Pass 1 correctly uses last-wins for ADVERT packets. But Pass 2 (fallback for nodes without ADVERTs) was also unconditionally overwriting, so a stale 1-byte non-ADVERT packet would clobber the correct 2-byte value from Pass 1. Restored the !hashSizeMap.has() guard on Pass 2 only — it should only fill gaps, never override ADVERT-derived hash_size.
This commit is contained in:
Reference in New Issue
Block a user