diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-06-04 09:38:36 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-28 21:28:08 +0100 |
commit | 82072e701ad319dcd4db610ffdb68c8aec0f648b (patch) | |
tree | 1789fdb83c08469e81b94b652158e91cdaf7f1d0 | |
parent | ringct: add check for destinations/amount size being equal (diff) | |
download | monero-82072e701ad319dcd4db610ffdb68c8aec0f648b.tar.xz |
ringct: restore verRange check in debug mode
Diffstat (limited to '')
-rw-r--r-- | src/ringct/rctSigs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ringct/rctSigs.cpp b/src/ringct/rctSigs.cpp index 9e2fa8cd6..0d0fccd63 100644 --- a/src/ringct/rctSigs.cpp +++ b/src/ringct/rctSigs.cpp @@ -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 |