Fixed incorrect vote counting for startVoting function
This commit is contained in:
parent
e8e42429fb
commit
cd4928b506
|
@ -243,7 +243,7 @@ contract Bridge {
|
|||
}
|
||||
|
||||
function startVoting() public readyOrVoting currentValidator {
|
||||
if (tryVote(Vote.START_VOTING)) {
|
||||
if (tryVote(Vote.START_VOTING, epoch)) {
|
||||
nextEpoch++;
|
||||
status = Status.VOTING;
|
||||
states[nextEpoch].threshold = getThreshold();
|
||||
|
|
Loading…
Reference in New Issue