Skip to content

Commit

Permalink
Merge branch 'feature/vote' into feature/hf1
Browse files Browse the repository at this point in the history
  • Loading branch information
wangsai committed Jun 25, 2021
2 parents 338b854 + 3aa3f03 commit 3b552ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/v1/VotePool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ contract VotePool is Params, ReentrancyGuard, IVotePool {
if (margin >= minMargin) {
state = State.Ready;
punishContract.cleanPunishRecord(validator);
validatorsContract.improveRanking();

emit ChangeState(state);
}
}
Expand Down

0 comments on commit 3b552ef

Please sign in to comment.