scripted-diff: Revert "fuzz: Add Temporary debug assert for oss-fuzz issue"

-BEGIN VERIFY SCRIPT-
git show faf1af58f8 | git apply --reverse
-END VERIFY SCRIPT-
This commit is contained in:
MarcoFalke 2021-07-19 19:18:36 +02:00
parent 7e1ba37b5d
commit facd56750c
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -58,19 +58,7 @@ void initialize_process_message()
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
g_setup = testing_setup.get();
// Temporary debug for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35027
{
LOCK(::cs_main);
assert(CheckDiskSpace(gArgs.GetDataDirNet()));
assert(CheckDiskSpace(gArgs.GetDataDirNet(), 48 * 2 * 2 * g_setup->m_node.chainman->ActiveChainstate().CoinsTip().GetCacheSize()));
}
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
{
LOCK(::cs_main);
assert(CheckDiskSpace(gArgs.GetDataDirNet()));
assert(CheckDiskSpace(gArgs.GetDataDirNet(), 48 * 2 * 2 * g_setup->m_node.chainman->ActiveChainstate().CoinsTip().GetCacheSize()));
}
MineBlock(g_setup->m_node, CScript() << OP_TRUE);
}
SyncWithValidationInterfaceQueue();