From 0a28acede7e0a7195036b6a5e85eafbd11a6a5e6 Mon Sep 17 00:00:00 2001 From: Uncle Stretch Date: Mon, 29 Sep 2025 20:44:22 +0300 Subject: [PATCH] reverse logic for ready to be triggered withdrawal Signed-off-by: Uncle Stretch --- Cargo.toml | 2 +- src/components/validator/withdrawals.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3b4630f..8095319 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.69" +version = "0.3.70" edition = "2021" homepage = "https://git.ghostchain.io/ghostchain" repository = "https://git.ghostchain.io/ghostchain/ghost-eye" diff --git a/src/components/validator/withdrawals.rs b/src/components/validator/withdrawals.rs index dee1cd0..88374d2 100644 --- a/src/components/validator/withdrawals.rs +++ b/src/components/validator/withdrawals.rs @@ -58,7 +58,7 @@ impl Withdrawals { fn try_open_popup(&mut self) { if let Some(action_tx) = &self.action_tx { if let Some(index) = self.table_state.selected() { - if index == 0 && self.unlockings[0].era > self.current_era { + if index == 0 && self.unlockings[0].era < self.current_era { let _ = action_tx.send(Action::WithdrawValidatorPopup); } else { let _ = action_tx.send(Action::EventLog(