mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge cdb4dfcbf1 into merged_master (Bitcoin PR bitcoin/bitcoin#20452)
This commit is contained in:
commit
d1a87496d0
15 changed files with 145 additions and 52 deletions
|
|
@ -89,7 +89,7 @@ void CleanupBlockRevFiles()
|
|||
// start removing block files.
|
||||
int nContigCounter = 0;
|
||||
for (const std::pair<const std::string, fs::path>& item : mapBlockFiles) {
|
||||
if (atoi(item.first) == nContigCounter) {
|
||||
if (LocaleIndependentAtoi<int>(item.first) == nContigCounter) {
|
||||
nContigCounter++;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue