From 49c69264dbbf3983e18d315e345c5f64adccc543 Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Wed, 24 Jan 2024 14:59:26 -0700 Subject: [PATCH] fix --- rpc-toolkit/src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc-toolkit/src/cli.rs b/rpc-toolkit/src/cli.rs index 8025244..9948240 100644 --- a/rpc-toolkit/src/cli.rs +++ b/rpc-toolkit/src/cli.rs @@ -109,7 +109,7 @@ pub async fn call_remote_http( { req = req.header("content-type", "application/json"); req = req.header("accept", "application/json"); - body = serde_json::to_vec(&req)?; + body = serde_json::to_vec(&rpc_req)?; } let res = dbg!(req) .timeout(Duration::from_secs(30))