From f367c2ba49631e29482e835cb06e38c105af8ab2 Mon Sep 17 00:00:00 2001 From: binarybaron <86064887+binarybaron@users.noreply.github.com> Date: Fri, 8 Sep 2023 12:53:33 +0200 Subject: [PATCH] Rename `get_raw_history` tp `get_raw_states` --- swap/src/rpc/methods.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();