aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-23 21:56:48 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-23 21:59:57 +0000
commit4be18df32acf2ff214e4734866cc74947436a1f0 (patch)
tree670db24484ed4a458afb001e7d5d534b5744b58e /src
parentwallet2: add missing "sanity check failed" reason message (diff)
downloadmonero-4be18df32acf2ff214e4734866cc74947436a1f0.tar.xz
tx_sanity_check: relax uniqueness check a bit
It triggers easily on testnet
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/tx_sanity_check.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/tx_sanity_check.cpp b/src/cryptonote_core/tx_sanity_check.cpp
index d3b225f1c..10198a3d3 100644
--- a/src/cryptonote_core/tx_sanity_check.cpp
+++ b/src/cryptonote_core/tx_sanity_check.cpp
@@ -34,7 +34,7 @@
#include "tx_sanity_check.h"
#undef MONERO_DEFAULT_LOG_CATEGORY
-#define MONERO_DEFAULT_LOG_CATEGORY "txsanity"
+#define MONERO_DEFAULT_LOG_CATEGORY "verify"
namespace cryptonote
{
@@ -80,7 +80,7 @@ bool tx_sanity_check(Blockchain &blockchain, const cryptonote::blobdata &tx_blob
if (n_available < 10000)
return true;
- if (rct_indices.size() < n_indices * 9 / 10)
+ if (rct_indices.size() < n_indices * 8 / 10)
{
MERROR("unique indices is only " << rct_indices.size() << "/" << n_indices);
return false;