File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1027,6 +1027,9 @@ bool AppInit2()
1027
1027
if (fServer )
1028
1028
NewThread (ThreadRPCServer, NULL );
1029
1029
1030
+ // Generate coins in the background
1031
+ GenerateBitcoins (GetBoolArg (" -gen" , false ), pwalletMain);
1032
+
1030
1033
// ********************************************************* Step 12: finished
1031
1034
1032
1035
uiInterface.InitMessage (_ (" Done loading" ));
Original file line number Diff line number Diff line change @@ -2047,9 +2047,6 @@ void StartNode(void* parg)
2047
2047
// Dump network addresses
2048
2048
if (!NewThread (ThreadDumpAddress, NULL ))
2049
2049
printf (" Error; NewThread(ThreadDumpAddress) failed\n " );
2050
-
2051
- // Generate coins in the background
2052
- GenerateBitcoins (GetBoolArg (" -gen" , false ), pwalletMain);
2053
2050
}
2054
2051
2055
2052
bool StopNode ()
You can’t perform that action at this time.
0 commit comments