mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 03:58:52 +00:00
ringct: restore verRange check in debug mode
This commit is contained in:
parent
63856cad29
commit
82072e701a
@ -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 New Issue
Block a user