fix the withdrawal epoch check

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2026-02-11 22:03:17 +03:00
parent 79cbcb5509
commit 82e935826e
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
name = "ghost-eye"
authors = ["str3tch <stretch@ghostchain.io>"]
description = "Application for interacting with Casper/Ghost nodes that are exposing RPC only to the localhost"
version = "0.3.90"
version = "0.3.91"
edition = "2021"
homepage = "https://git.ghostchain.io/ghostchain"
repository = "https://git.ghostchain.io/ghostchain/ghost-eye"

View File

@ -53,7 +53,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(