mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
A mutation-test marker found here had replaced the height in the signed vote message with a constant, making a signature valid at any height. It sat uncommitted in a tracked file, where any staging of modified files would have carried it into a published repository. Restoring the original is the injector's job; this makes forgetting it visible instead of silent. Matched without \b, which BSD grep -E ignores — the first version of this rule matched nothing and reported clean, which is worse than having no rule. Proven both ways against a marker placed in a tracked file. Co-authored-by: Hanzo Dev <[email protected]>