aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-06-04 09:38:36 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-28 21:28:08 +0100
commit82072e701ad319dcd4db610ffdb68c8aec0f648b (patch)
tree1789fdb83c08469e81b94b652158e91cdaf7f1d0
parentringct: add check for destinations/amount size being equal (diff)
downloadmonero-82072e701ad319dcd4db610ffdb68c8aec0f648b.tar.xz
ringct: restore verRange check in debug mode
Diffstat (limited to '')
-rw-r--r--src/ringct/rctSigs.cpp2
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