diff --git a/Cargo.toml b/Cargo.toml index a944603..d9c5cd8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "ghost-eye" authors = ["str3tch "] description = "Application for interacting with Casper/Ghost nodes that are exposing RPC only to the localhost" -version = "0.3.33" +version = "0.3.34" edition = "2021" [dependencies] diff --git a/src/components/validator/rotate_popup.rs b/src/components/validator/rotate_popup.rs index 78908df..8ada4f0 100644 --- a/src/components/validator/rotate_popup.rs +++ b/src/components/validator/rotate_popup.rs @@ -70,10 +70,10 @@ impl RotatePopup { (gran_key, babe_key, audi_key, slow_key) } else { ( - String::from("not prepared"), - String::from("not prepared"), - String::from("not prepared"), - String::from("not prepared"), + String::from("0x0000000000000000000000000000000000000000000000000000000000000000"), + String::from("0x0000000000000000000000000000000000000000000000000000000000000000"), + String::from("0x0000000000000000000000000000000000000000000000000000000000000000"), + String::from("0x0000000000000000000000000000000000000000000000000000000000000000"), ) } } @@ -94,6 +94,11 @@ impl Component for RotatePopup { Ok(()) } + fn register_action_handler(&mut self, tx: UnboundedSender) -> Result<()> { + self.action_tx = Some(tx); + Ok(()) + } + fn register_config_handler(&mut self, config: Config) -> Result<()> { if let Some(style) = config.styles.get(&crate::app::Mode::Wallet) { self.palette.with_normal_style(style.get("normal_style").copied()); @@ -150,7 +155,7 @@ impl Component for RotatePopup { ]), ], [ - Constraint::Min(4), + Constraint::Length(4), Constraint::Min(0), ], )