Closed jcalfee closed 7 years ago
The second parameter to blind_sum is the number of non-negative factors. As coded the size of the vector is being passed instead:
fc::ecc::blind_sum( blinding_factors, blinding_factors.size() - 1 )
This is probably correct.. In the case above, it is marking all but the last blinding factor non-negative.
The second parameter to blind_sum is the number of non-negative factors. As coded the size of the vector is being passed instead: