undo a rename in the json

This commit is contained in:
Bryan Stitt 2023-02-15 12:59:03 -08:00 committed by yenicelik
parent 88da33c7e4
commit 83c1d7051d

View File

@ -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();