aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/vm/oracle_contracts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/oracle_contracts.go b/core/vm/oracle_contracts.go
index 296d6fd4f..23a005269 100644
--- a/core/vm/oracle_contracts.go
+++ b/core/vm/oracle_contracts.go
@@ -2043,7 +2043,7 @@ func (g *GovernanceContract) withdrawable() bool {
}
// Can not withdraw if there are no pending withdrawal.
- if node.Unstaked.Cmp(big.NewInt(0)) == 0 {
+ if node.UnstakedAt.Cmp(big.NewInt(0)) == 0 {
return false
}