Cleanup StartRest()

This commit is contained in:
DesWurstes
2018-08-10 18:04:42 +03:00
parent f66e1c793e
commit 2da54f5a66
3 changed files with 3 additions and 5 deletions

View File

@@ -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()