ringct: restore verRange check in debug mode

This commit is contained in:
moneromooo-monero 2016-06-04 09:38:36 +01:00
parent 63856cad29
commit 82072e701a
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -486,7 +486,7 @@ namespace rct {
//compute range proof
rv.rangeSigs[i] = proveRange(rv.outPk[i].mask, outSk[i].mask, amounts[i]);
#ifdef DBG
verRange(rv.outPk[i].mask, rv.rangeSigs[i]);
CHECK_AND_ASSERT_THROW_MES(verRange(rv.outPk[i].mask, rv.rangeSigs[i]), "verRange failed on newly created proof");
#endif
//mask amount and mask