Skip to content

Commit e6767e9

Browse files
committed
Set up get_info with node category
1 parent 1b58628 commit e6767e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/chain_api_plugin/chain_api_plugin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void chain_api_plugin::plugin_startup() {
127127

128128
// Run get_info on http thread only
129129
_http_plugin.add_async_api({
130-
CHAIN_RO_CALL_WITH_400(get_info, 200, http_params_types::no_params)
130+
CALL_WITH_400(chain, node, ro_api, chain_apis::read_only, get_info, 200, http_params_types::no_params)
131131
});
132132

133133
_http_plugin.add_api({

0 commit comments

Comments
 (0)