mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 21:57:46 +00:00
ringct: restore verRange check in debug mode
This commit is contained in:
parent
63856cad29
commit
82072e701a
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ namespace rct {
|
||||||
//compute range proof
|
//compute range proof
|
||||||
rv.rangeSigs[i] = proveRange(rv.outPk[i].mask, outSk[i].mask, amounts[i]);
|
rv.rangeSigs[i] = proveRange(rv.outPk[i].mask, outSk[i].mask, amounts[i]);
|
||||||
#ifdef DBG
|
#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
|
#endif
|
||||||
|
|
||||||
//mask amount and mask
|
//mask amount and mask
|
||||||
|
|
Loading…
Reference in a new issue