From dc5dc891ad64f1231f0ad5f80699f8edde67d6f8 Mon Sep 17 00:00:00 2001 From: Jeeyong Um Date: Sat, 12 Jan 2019 21:30:35 +0900 Subject: [PATCH] Exclude get_supported_apis itself from result --- plugins/http_plugin/http_plugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/http_plugin/http_plugin.cpp b/plugins/http_plugin/http_plugin.cpp index ff92520c261..e15b56bcf06 100644 --- a/plugins/http_plugin/http_plugin.cpp +++ b/plugins/http_plugin/http_plugin.cpp @@ -632,7 +632,8 @@ namespace eosio { get_supported_apis_result result; for (const auto& handler : my->url_handlers) { - result.apis.emplace_back(handler.first); + if (handler.first != "/v1/node/get_supported_apis") + result.apis.emplace_back(handler.first); } return result;