diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-07-01 00:20:21 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-07-01 00:20:21 -0500 |
commit | 124ea419f0f4133a8eaf7d649c29733389df30d7 (patch) | |
tree | 0e3624d99ff3693561ead9546a8a6f1cbbc0e824 | |
parent | Merge pull request #5669 (diff) | |
parent | tx_sanity_check: relax the median check a lot (diff) | |
download | monero-124ea419f0f4133a8eaf7d649c29733389df30d7.tar.xz |
Merge pull request #5676
bb7b059 tx_sanity_check: relax the median check a lot (monermooo-monero)
-rw-r--r-- | src/cryptonote_core/tx_sanity_check.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/tx_sanity_check.cpp b/src/cryptonote_core/tx_sanity_check.cpp index 10198a3d3..36be91f2c 100644 --- a/src/cryptonote_core/tx_sanity_check.cpp +++ b/src/cryptonote_core/tx_sanity_check.cpp @@ -88,7 +88,7 @@ bool tx_sanity_check(Blockchain &blockchain, const cryptonote::blobdata &tx_blob std::vector<uint64_t> offsets(rct_indices.begin(), rct_indices.end()); uint64_t median = epee::misc_utils::median(offsets); - if (median < n_available * 9 / 10) + if (median < n_available * 6 / 10) { MERROR("median is " << median << "/" << n_available); return false; |