Skip to content

Commit f0c73f5

Browse files
Revert "Skip mempool.dat when wallet is starting in "zap" mode (#2782)"
This reverts commit 60a9184.
1 parent 4a22fb7 commit f0c73f5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/validation.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4358,11 +4358,6 @@ static const uint64_t MEMPOOL_DUMP_VERSION = 1;
43584358

43594359
bool LoadMempool(void)
43604360
{
4361-
if (gArgs.GetBoolArg("-zapwallettxes", false)) {
4362-
LogPrintf("Skipping mempool.dat because of zapwallettxes\n");
4363-
return true;
4364-
}
4365-
43664361
const CChainParams& chainparams = Params();
43674362
int64_t nExpiryTimeout = gArgs.GetArg("-mempoolexpiry", DEFAULT_MEMPOOL_EXPIRY) * 60 * 60;
43684363
FILE* filestr = fsbridge::fopen(GetDataDir() / "mempool.dat", "rb");

0 commit comments

Comments
 (0)