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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue