File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1418,6 +1418,9 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
1418
1418
1419
1419
// ********************************************************* Step 10: import blocks
1420
1420
1421
+ if (!CheckDiskSpace ())
1422
+ return false ;
1423
+
1421
1424
// Either install a handler to notify us when genesis activates, or set fHaveGenesis directly.
1422
1425
// No locking, as this happens before any background thread is started.
1423
1426
if (chainActive.Tip () == NULL ) {
@@ -1449,9 +1452,6 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
1449
1452
1450
1453
// ********************************************************* Step 11: start node
1451
1454
1452
- if (!CheckDiskSpace ())
1453
- return false ;
1454
-
1455
1455
if (!strErrors.str ().empty ())
1456
1456
return InitError (strErrors.str ());
1457
1457
You can’t perform that action at this time.
0 commit comments