mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Allow shutdown during LoadMempool, dump only when necessary
This commit is contained in:
parent
041331e1da
commit
9479f8dfcf
2 changed files with 6 additions and 1 deletions
|
|
@ -4076,6 +4076,8 @@ bool LoadMempool(void)
|
|||
} else {
|
||||
++skipped;
|
||||
}
|
||||
if (ShutdownRequested())
|
||||
return false;
|
||||
}
|
||||
std::map<uint256, CAmount> mapDeltas;
|
||||
file >> mapDeltas;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue