mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #6202
02b80513
unit_tests: remove invalid bulletproofs unit test (moneromooo-monero)
This commit is contained in:
commit
e7997cd62a
1 changed files with 0 additions and 9 deletions
|
@ -179,15 +179,6 @@ TEST(bulletproofs, invalid_31)
|
||||||
ASSERT_FALSE(rct::bulletproof_VERIFY(proof));
|
ASSERT_FALSE(rct::bulletproof_VERIFY(proof));
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(bulletproofs, invalid_gamma_0)
|
|
||||||
{
|
|
||||||
rct::key invalid_amount = rct::zero();
|
|
||||||
invalid_amount[8] = 1;
|
|
||||||
rct::key gamma = rct::zero();
|
|
||||||
rct::Bulletproof proof = bulletproof_PROVE(invalid_amount, gamma);
|
|
||||||
ASSERT_FALSE(rct::bulletproof_VERIFY(proof));
|
|
||||||
}
|
|
||||||
|
|
||||||
static const char * const torsion_elements[] =
|
static const char * const torsion_elements[] =
|
||||||
{
|
{
|
||||||
"c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa",
|
"c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa",
|
||||||
|
|
Loading…
Reference in a new issue