Cleanup StartRest()
This commit is contained in:
+1
-2
@@ -736,8 +736,7 @@ static bool AppInitServers()
|
||||
StartRPC();
|
||||
if (!StartHTTPRPC())
|
||||
return false;
|
||||
if (gArgs.GetBoolArg("-rest", DEFAULT_REST_ENABLE) && !StartREST())
|
||||
return false;
|
||||
if (gArgs.GetBoolArg("-rest", DEFAULT_REST_ENABLE)) StartREST();
|
||||
StartHTTPServer();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user