Skip to content

Commit

Permalink
feat(neuron-ui): allow user to claim since unlock epoch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Nov 11, 2019
1 parent 544becd commit f1ad76b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const DAORecord = ({
const depositEpochInfo = epochParser(depositEpoch)
const currentEpochInfo = epochParser(epoch)
const targetEpochNumber = calculateClaimEpochNumber(depositEpochInfo, currentEpochInfo)
if (targetEpochNumber < currentEpochInfo.number + BigInt(1) && targetEpochNumber >= currentEpochInfo.number) {
if (targetEpochNumber <= currentEpochInfo.number) {
metaInfo = 'Ready'
ready = true
} else {
Expand Down

0 comments on commit f1ad76b

Please sign in to comment.