diff options
author | luigi1111 <luigi1111w@gmail.com> | 2016-12-12 17:01:20 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2016-12-12 17:01:20 -0600 |
commit | 9d906159c3ae377cd403831d51c7e400644c0a77 (patch) | |
tree | 57ad0efffa671da80cf9f05e941e7a85ca4adae3 | |
parent | Merge pull request #1436 (diff) | |
download | monero-9d906159c3ae377cd403831d51c7e400644c0a77.tar.xz |
Tx verification failing is not an error
And rangeProofs are on outputs...
-rw-r--r-- | src/ringct/rctSigs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ringct/rctSigs.cpp b/src/ringct/rctSigs.cpp index b7efe3ae7..c7f9b6879 100644 --- a/src/ringct/rctSigs.cpp +++ b/src/ringct/rctSigs.cpp @@ -750,7 +750,7 @@ namespace rct { for (size_t i = 0; i < rv.outPk.size(); ++i) { if (!results[i]) { - LOG_ERROR("Range proof verified failed for input " << i); + LOG_PRINT_L1("Range proof verified failed for output " << i); return false; } } @@ -761,7 +761,7 @@ namespace rct { DP("mg sig verified?"); DP(mgVerd); if (!mgVerd) { - LOG_ERROR("MG signature verification failed"); + LOG_PRINT_L1("MG signature verification failed"); return false; } @@ -803,7 +803,7 @@ namespace rct { for (size_t i = 0; i < results.size(); ++i) { if (!results[i]) { - LOG_ERROR("Range proof verified failed for input " << i); + LOG_PRINT_L1("Range proof verified failed for output " << i); return false; } } @@ -830,7 +830,7 @@ namespace rct { for (size_t i = 0; i < results.size(); ++i) { if (!results[i]) { - LOG_ERROR("verRctMGSimple failed for input " << i); + LOG_PRINT_L1("verRctMGSimple failed for input " << i); return false; } } @@ -843,7 +843,7 @@ namespace rct { //check pseudoOuts vs Outs.. if (!equalKeys(sumPseudoOuts, sumOutpks)) { - LOG_ERROR("Sum check failed"); + LOG_PRINT_L1("Sum check failed"); return false; } |