mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Revert "Skip mempool.dat when wallet is starting in "zap" mode (#2782)"
This reverts commit 60a91848a4
.
This commit is contained in:
parent
4a22fb78f9
commit
f0c73f5cec
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user