From adde2cda1bb8f8ed4da2fbb086626be54a20b735 Mon Sep 17 00:00:00 2001 From: JLer Date: Thu, 18 Jan 2024 14:11:37 +0800 Subject: [PATCH] feat: node-status add waiting_block --- src/display.rs | 1 + src/types.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/display.rs b/src/display.rs index 10f53fe..51a1b29 100644 --- a/src/display.rs +++ b/src/display.rs @@ -489,6 +489,7 @@ impl Display for NodeStatus { "peers_status": self.peers_status.iter().map(PeerStatus::to_json).collect::>(), "is_danger": self.is_danger, "init_block_number": self.init_block_number, + "waiting_block": self.waiting_block, }) } } diff --git a/src/types.rs b/src/types.rs index 3de968b..f1add25 100644 --- a/src/types.rs +++ b/src/types.rs @@ -29,7 +29,7 @@ use std::str::FromStr; pub use ethereum_types::{Address, H128, H160, H256, H264, H32, H512, H520, H64}; -pub use ethereum_types::{Bloom, BloomInput, BloomRef}; +pub use ethereum_types::{Bloom, BloomInput}; pub use ethereum_types::{U128, U256, U512, U64}; #[inline]