reverse logic for ready to be triggered withdrawal
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
5db96fa8f1
commit
0a28acede7
@ -2,7 +2,7 @@
|
|||||||
name = "ghost-eye"
|
name = "ghost-eye"
|
||||||
authors = ["str3tch <stretch@ghostchain.io>"]
|
authors = ["str3tch <stretch@ghostchain.io>"]
|
||||||
description = "Application for interacting with Casper/Ghost nodes that are exposing RPC only to the localhost"
|
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"
|
edition = "2021"
|
||||||
homepage = "https://git.ghostchain.io/ghostchain"
|
homepage = "https://git.ghostchain.io/ghostchain"
|
||||||
repository = "https://git.ghostchain.io/ghostchain/ghost-eye"
|
repository = "https://git.ghostchain.io/ghostchain/ghost-eye"
|
||||||
|
@ -58,7 +58,7 @@ impl Withdrawals {
|
|||||||
fn try_open_popup(&mut self) {
|
fn try_open_popup(&mut self) {
|
||||||
if let Some(action_tx) = &self.action_tx {
|
if let Some(action_tx) = &self.action_tx {
|
||||||
if let Some(index) = self.table_state.selected() {
|
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);
|
let _ = action_tx.send(Action::WithdrawValidatorPopup);
|
||||||
} else {
|
} else {
|
||||||
let _ = action_tx.send(Action::EventLog(
|
let _ = action_tx.send(Action::EventLog(
|
||||||
|
Loading…
Reference in New Issue
Block a user