From 774bd5b2328ccf6412585bd988ee3e7c171bbb70 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 15 Feb 2023 12:59:03 -0800 Subject: [PATCH] undo a rename in the json --- web3_proxy/src/rpcs/many.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web3_proxy/src/rpcs/many.rs b/web3_proxy/src/rpcs/many.rs index 4a4d1995..33e03177 100644 --- a/web3_proxy/src/rpcs/many.rs +++ b/web3_proxy/src/rpcs/many.rs @@ -1134,7 +1134,8 @@ impl Serialize for Web3Rpcs { let mut state = serializer.serialize_struct("Web3Rpcs", 6)?; let rpcs: Vec<&Web3Rpc> = self.by_name.values().map(|x| x.as_ref()).collect(); - state.serialize_field("rpcs", &rpcs)?; + // TODO: coordinate with frontend team to rename "conns" to "rpcs" + state.serialize_field("conns", &rpcs)?; { let consensus_connections = self.watch_consensus_rpcs_sender.borrow().clone();