mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
Allow shutdown during LoadMempool, dump only when necessary
This commit is contained in:
@@ -4076,6 +4076,8 @@ bool LoadMempool(void)
|
||||
} else {
|
||||
++skipped;
|
||||
}
|
||||
if (ShutdownRequested())
|
||||
return false;
|
||||
}
|
||||
std::map<uint256, CAmount> mapDeltas;
|
||||
file >> mapDeltas;
|
||||
|
||||
Reference in New Issue
Block a user