From 7a087415a2fbb08fdddb33260c08769afa35843e Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Thu, 20 Apr 2023 19:55:18 -0700 Subject: [PATCH] hash instead of block_hash --- web3_proxy/src/rpcs/blockchain.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/rpcs/blockchain.rs b/web3_proxy/src/rpcs/blockchain.rs index 34a09e7a..1eb28f18 100644 --- a/web3_proxy/src/rpcs/blockchain.rs +++ b/web3_proxy/src/rpcs/blockchain.rs @@ -43,7 +43,7 @@ impl Serialize for Web3ProxyBlock { state.serialize_field("age", &self.age())?; let block = json!({ - "block_hash": self.block.hash, + "hash": self.block.hash, "parent_hash": self.block.parent_hash, "number": self.block.number, "timestamp": self.block.timestamp,