hash instead of block_hash
This commit is contained in:
parent
4d2c0dae53
commit
7a087415a2
@ -43,7 +43,7 @@ impl Serialize for Web3ProxyBlock {
|
|||||||
state.serialize_field("age", &self.age())?;
|
state.serialize_field("age", &self.age())?;
|
||||||
|
|
||||||
let block = json!({
|
let block = json!({
|
||||||
"block_hash": self.block.hash,
|
"hash": self.block.hash,
|
||||||
"parent_hash": self.block.parent_hash,
|
"parent_hash": self.block.parent_hash,
|
||||||
"number": self.block.number,
|
"number": self.block.number,
|
||||||
"timestamp": self.block.timestamp,
|
"timestamp": self.block.timestamp,
|
||||||
|
Loading…
Reference in New Issue
Block a user