Remove less-than-usefull unlock check (#3558)
This commit is contained in:
parent
813343846e
commit
2086d9ded1
@ -121,7 +121,7 @@ function Account ({ account: { address, meta }, className = '', delegation, filt
|
||||
bestNumber && democracyLocks && setUnlockableIds(
|
||||
(prev): DemocracyUnlockable => {
|
||||
const ids = democracyLocks
|
||||
.filter(({ balance, isFinished, unlockAt }) => isFinished && (balance.isMax() || bestNumber.gt(unlockAt)))
|
||||
.filter(({ isFinished, unlockAt }) => isFinished && bestNumber.gt(unlockAt))
|
||||
.map(({ referendumId }) => referendumId);
|
||||
|
||||
if (JSON.stringify(prev.ids) === JSON.stringify(ids)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user