mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 22:08:54 +00:00
Merge pull request #5675
da3e20e
tx_sanity_check: relax the median check a lot (moneromooo-monero)
This commit is contained in:
commit
393c33f86c
@ -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());
|
std::vector<uint64_t> offsets(rct_indices.begin(), rct_indices.end());
|
||||||
uint64_t median = epee::misc_utils::median(offsets);
|
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);
|
MERROR("median is " << median << "/" << n_available);
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user