From ff0fb4b6ed7f2b5924afc6f6122741dfb53eb3f6 Mon Sep 17 00:00:00 2001 From: wowario Date: Sat, 14 Dec 2024 09:53:01 +0300 Subject: [PATCH] revert revert sanity check --- src/wallet/wallet2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 30b3502dc..eb9b1ef9d 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -8799,8 +8799,8 @@ void wallet2::get_outs(std::vector> // 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