revert sanity check

This commit is contained in:
wowario 2021-08-30 20:49:16 +03:00
parent f409249b78
commit b602ab02ee
No known key found for this signature in database
GPG Key ID: 793504B449C69220

View File

@ -8800,8 +8800,8 @@ void wallet2::get_outs(std::vector<std::vector<tools::wallet2::get_outs_entry>>
// check we're clear enough of rct start, to avoid corner cases below // check we're clear enough of rct start, to avoid corner cases below
THROW_WALLET_EXCEPTION_IF(rct_offsets.size() <= CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE, THROW_WALLET_EXCEPTION_IF(rct_offsets.size() <= CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE,
error::get_output_distribution, "Not enough rct outputs"); error::get_output_distribution, "Not enough rct outputs");
THROW_WALLET_EXCEPTION_IF(rct_offsets.back() <= max_rct_index, //THROW_WALLET_EXCEPTION_IF(rct_offsets.back() <= max_rct_index,
error::get_output_distribution, "Daemon reports suspicious number of rct outputs"); //error::get_output_distribution, "Daemon reports suspicious number of rct outputs");
} }
// get histogram for the amounts we need // get histogram for the amounts we need