mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 15:50:07 +01:00
Cleanup StartRest()
This commit is contained in:
@@ -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