mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 13:56:23 +00:00
89d133d0e5
The `is_next_sync_committee_known` helper allocates a fresh `SyncCommittee` in the caller and `nimZeroMem`s it on each use. Use `static` to compare against a compile-time zeroed copy instead. This also should help reduce stack size far enough to link with Nim 2.0.