Skip to content

Commit

Permalink
Merge pull request #103 from cita-cloud/waiting_block
Browse files Browse the repository at this point in the history
feat: node-status add waiting_block
  • Loading branch information
rink1969 authored Jan 18, 2024
2 parents 7031a19 + adde2cd commit 3837cea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ impl Display for NodeStatus {
"peers_status": self.peers_status.iter().map(PeerStatus::to_json).collect::<Vec<_>>(),
"is_danger": self.is_danger,
"init_block_number": self.init_block_number,
"waiting_block": self.waiting_block,
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 3837cea

Please sign in to comment.