From 057afec3e1e073dd0b83baf6f7470ec302e6e3d0 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Mon, 11 Jul 2022 19:51:56 +0000 Subject: [PATCH] fix length --- web3-proxy/src/connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3-proxy/src/connection.rs b/web3-proxy/src/connection.rs index 64b31206..f70a991f 100644 --- a/web3-proxy/src/connection.rs +++ b/web3-proxy/src/connection.rs @@ -90,7 +90,7 @@ impl Serialize for Web3Connection { S: Serializer, { // 3 is the number of fields in the struct. - let mut state = serializer.serialize_struct("Web3Connection", 1)?; + let mut state = serializer.serialize_struct("Web3Connection", 3)?; // TODO: sanitize any credentials in the url state.serialize_field("url", &self.url)?;