remove ping method

This commit is contained in:
Samuel Lorch 2023-10-30 21:47:24 +01:00
parent 18ef592c55
commit b90e56c508

View file

@ -59,13 +59,6 @@ struct GetIntID {
pub fn new_rpc_module(state: RpcState) -> RpcModule<RpcState> { pub fn new_rpc_module(state: RpcState) -> RpcModule<RpcState> {
let mut module = RpcModule::new(state); let mut module = RpcModule::new(state);
module
.register_method("ping", |_, _| {
info!("ping called");
"pong"
})
.unwrap();
module module
.register_method("system.get_user", system::get_user) .register_method("system.get_user", system::get_user)
.unwrap(); .unwrap();