From 2281803fa0ceae4dfba14875d6e66fc3c575dedb Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Sat, 28 Oct 2023 18:33:47 +0200 Subject: [PATCH] rename rpc methods --- src/api/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/mod.rs b/src/api/mod.rs index 87f4de3..585ab03 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -37,11 +37,11 @@ pub fn new_rpc_module(state: RpcState) -> RpcModule { .unwrap(); module - .register_method("System.GetUsers", system::get_users) + .register_method("system.get_users", system::get_users) .unwrap(); module - .register_method("Network.GetStaticRoutes", network::get_static_routes) + .register_method("network.get_static_routes", network::get_static_routes) .unwrap(); module