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

test_bit_length_create_commitment_with_user_defined_randomness fails occasionally #70

Closed
oleiba opened this issue Nov 13, 2019 · 2 comments

Comments

@oleiba
Copy link
Contributor

oleiba commented Nov 13, 2019

Once in every few attempts, test fails (I would assume every 16 attempts on average):

$ cargo test --features=ec_secp256k1
---- cryptographic_primitives::commitments::hash_commitment::tests::test_bit_length_create_commitment_with_user_defined_randomness stdout ----
thread 'cryptographic_primitives::commitments::hash_commitment::tests::test_bit_length_create_commitment_with_user_defined_randomness' panicked at 'assertion failed: `(left == right)`
  left: `63`,
 right: `64`', src/cryptographic_primitives/commitments/hash_commitment.rs:83:9
@amanusk
Copy link
Contributor

amanusk commented Nov 13, 2019

Duplicate #56 ?

@oleiba
Copy link
Contributor Author

oleiba commented Nov 13, 2019

Yes.

@oleiba oleiba closed this as completed Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants