revert sanity check

This commit is contained in:
wowario 2021-08-30 20:49:16 +03:00
parent e78ef8a3a7
commit a8eb29dbe7
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

View File

@ -8597,8 +8597,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
THROW_WALLET_EXCEPTION_IF(rct_offsets.size() <= CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE,
error::get_output_distribution, "Not enough rct outputs");
THROW_WALLET_EXCEPTION_IF(rct_offsets.back() <= max_rct_index,
error::get_output_distribution, "Daemon reports suspicious number of rct outputs");
//THROW_WALLET_EXCEPTION_IF(rct_offsets.back() <= max_rct_index,
//error::get_output_distribution, "Daemon reports suspicious number of rct outputs");
}
// get histogram for the amounts we need