JeanLucPons / VanitySearch

Bitcoin Address Prefix Finder
GNU General Public License v3.0
431 stars 210 forks source link

Secp256k1::check() fails #102

Closed bojlahg closed 3 years ago

bojlahg commented 3 years ago

In my case fixed by replacing "return (int)((64-LZC(t.bits64[i])) + i64);" with "return (int)((1+LZC(t.bits64[i])) + i64);" in Int::GetBitLength().

bojlahg commented 3 years ago

It happens if system has no support of LZCNT instruction.