1
0
Fork 0
forked from lthn/blockchain

unused var in one_out_of_many_proofs

This commit is contained in:
cryptozoidberg 2024-02-01 17:28:38 +01:00
parent 2dbae9a3b7
commit e7c73e8860
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -234,7 +234,7 @@ namespace crypto
const size_t m = std::max(static_cast<uint64_t>(1), constexpr_ceil_log_n(ring_size, n));
const size_t N = constexpr_pow(m, n);
const size_t mn = m * n;
//const size_t mn = m * n;
CHECK_AND_FAIL_WITH_ERROR_IF_FALSE(sig.Pk.size() == m, 1);
CHECK_AND_FAIL_WITH_ERROR_IF_FALSE(sig.f.size() == m * (n - 1), 2);