mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Cleanup StartRest()
This commit is contained in:
parent
f66e1c793e
commit
2da54f5a66
3 changed files with 3 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue