From 2da54f5a66f91306c064d685bffcee2062b6ebd2 Mon Sep 17 00:00:00 2001 From: DesWurstes Date: Fri, 10 Aug 2018 18:04:42 +0300 Subject: Cleanup StartRest() --- src/rest.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/rest.cpp') 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() -- cgit v1.2.3