diff options
author | DesWurstes <DesWurstes@users.noreply.github.com> | 2018-08-10 18:04:42 +0300 |
---|---|---|
committer | DesWurstes <DesWurstes@users.noreply.github.com> | 2018-08-11 09:34:47 +0300 |
commit | 2da54f5a66f91306c064d685bffcee2062b6ebd2 (patch) | |
tree | 40f645da47d8d7df2faa91c03ec01e8a740cdd41 /src/rest.cpp | |
parent | f66e1c793eda7a6143fd03400c98512a9b6f00c7 (diff) |
Cleanup StartRest()
Diffstat (limited to 'src/rest.cpp')
-rw-r--r-- | src/rest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rest.cpp b/src/rest.cpp index b81a6f9c5f..12358cf50d 100644 --- a/src/rest.cpp +++ b/src/rest.cpp @@ -591,11 +591,10 @@ static const struct { {"/rest/getutxos", rest_getutxos}, }; -bool StartREST() +void StartREST() { for (unsigned int i = 0; i < ARRAYLEN(uri_prefixes); i++) RegisterHTTPHandler(uri_prefixes[i].prefix, false, uri_prefixes[i].handler); - return true; } void InterruptREST() |