diff options
| author | DesWurstes <[email protected]> | 2018-08-10 18:04:42 +0300 |
|---|---|---|
| committer | DesWurstes <[email protected]> | 2018-08-11 09:34:47 +0300 |
| commit | 2da54f5a66f91306c064d685bffcee2062b6ebd2 (patch) | |
| tree | 40f645da47d8d7df2faa91c03ec01e8a740cdd41 /src/init.cpp | |
| parent | Merge #13669: Tests: Cleanup create_transaction implementations (diff) | |
| download | discoin-2da54f5a66f91306c064d685bffcee2062b6ebd2.tar.xz discoin-2da54f5a66f91306c064d685bffcee2062b6ebd2.zip | |
Cleanup StartRest()
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index 5c2973691..482107c06 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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; } |