mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
scripted-diff: Rename CBlockDiskPos to FlatFilePos.
-BEGIN VERIFY SCRIPT- sed -i 's/CDiskBlockPos/FlatFilePos/g' $(git ls-files 'src/*.h' 'src/*.cpp') -END VERIFY SCRIPT-
This commit is contained in:
parent
d6d8a78f26
commit
65a489e93d
7 changed files with 63 additions and 63 deletions
|
|
@ -672,7 +672,7 @@ static void ThreadImport(std::vector<fs::path> vImportFiles)
|
|||
if (fReindex) {
|
||||
int nFile = 0;
|
||||
while (true) {
|
||||
CDiskBlockPos pos(nFile, 0);
|
||||
FlatFilePos pos(nFile, 0);
|
||||
if (!fs::exists(GetBlockPosFilename(pos)))
|
||||
break; // No block files left to reindex
|
||||
FILE *file = OpenBlockFile(pos, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue