Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the min(max( construction for the ct_exponent argument #840

Merged
merged 1 commit into from Mar 25, 2020

Commits on Mar 24, 2020

  1. Remove the min(max( construction for the ct_exponent argument

    We removed the similar construction for ct_bits in an earlier commit.
    The construction is to keep the value between -1 and 18. This kind of
    means that a user that inputs a value outside that range will not get an
    error, but will use the value on the edge of the range instead.
    
    It's probably better to return an error (generated by secp256k1) in the
    case of invalid input.
    stevenroose committed Mar 24, 2020
    Copy the full SHA
    edfa40e View commit details
    Browse the repository at this point in the history