chore: Enable clang-tidy misc checks (#6655)

This commit is contained in:
Alex Kremer
2026-03-31 18:29:45 +01:00
committed by GitHub
parent c3fae847f3
commit 2502befb42
469 changed files with 3915 additions and 3965 deletions

View File

@@ -130,11 +130,11 @@ ecdsaCanonicality(Slice const& sig)
if (!r || !s || !p.empty())
return std::nullopt;
uint264 R(sliceToHex(*r));
uint264 const R(sliceToHex(*r));
if (R >= G)
return std::nullopt;
uint264 S(sliceToHex(*s));
uint264 const S(sliceToHex(*s));
if (S >= G)
return std::nullopt;