From f0c73f5cecd9453c84d1b4c39daf1c665fc50645 Mon Sep 17 00:00:00 2001 From: Pasta Date: Wed, 24 Jul 2019 12:55:09 -0500 Subject: [PATCH] Revert "Skip mempool.dat when wallet is starting in "zap" mode (#2782)" This reverts commit 60a91848a49f069748ec5141cd369359a4f7955e. --- src/validation.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/validation.cpp b/src/validation.cpp index 461616ae25..5a478a04f9 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -4358,11 +4358,6 @@ static const uint64_t MEMPOOL_DUMP_VERSION = 1; bool LoadMempool(void) { - if (gArgs.GetBoolArg("-zapwallettxes", false)) { - LogPrintf("Skipping mempool.dat because of zapwallettxes\n"); - return true; - } - const CChainParams& chainparams = Params(); int64_t nExpiryTimeout = gArgs.GetArg("-mempoolexpiry", DEFAULT_MEMPOOL_EXPIRY) * 60 * 60; FILE* filestr = fsbridge::fopen(GetDataDir() / "mempool.dat", "rb");