diff --git a/swap/src/rpc/methods.rs b/swap/src/rpc/methods.rs index b7dc39cc..c5fa461c 100644 --- a/swap/src/rpc/methods.rs +++ b/swap/src/rpc/methods.rs @@ -51,7 +51,7 @@ pub fn register_modules(context: Arc) -> RpcModule> { .unwrap(); module - .register_async_method("get_raw_history", |params, context| async move { + .register_async_method("get_raw_states", |params, context| async move { execute_request(params, Method::GetRawStates, &context).await }) .unwrap();