Skip to content

Commit

Permalink
Merge pull request #3850 from ripcurlx/update-sign-state-icon
Browse files Browse the repository at this point in the history
Show the correct sign state icon for accounts that are able to sign
  • Loading branch information
sqrrm authored Jan 3, 2020
2 parents fdec61e + 8e2bad4 commit 4ac5450
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -726,9 +726,8 @@ public SignState getSignState(AccountAgeWitness accountAgeWitness) {
final long accountSignAge = getWitnessSignAge(accountAgeWitness, new Date());
switch (getAccountAgeCategory(accountSignAge)) {
case TWO_MONTHS_OR_MORE:
return SignState.PEER_SIGNER;
case ONE_TO_TWO_MONTHS:
return SignState.PEER_LIMIT_LIFTED;
return SignState.PEER_SIGNER;
case LESS_ONE_MONTH:
return SignState.PEER_INITIAL;
case UNVERIFIED:
Expand Down

0 comments on commit 4ac5450

Please sign in to comment.