From b90e56c50823387eb3b55f9bcce6777764dbe576 Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Mon, 30 Oct 2023 21:47:24 +0100 Subject: [PATCH] remove ping method --- src/api/mod.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/api/mod.rs b/src/api/mod.rs index a10f512..9690ba1 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -59,13 +59,6 @@ struct GetIntID { pub fn new_rpc_module(state: RpcState) -> RpcModule { let mut module = RpcModule::new(state); - module - .register_method("ping", |_, _| { - info!("ping called"); - "pong" - }) - .unwrap(); - module .register_method("system.get_user", system::get_user) .unwrap();