fix bug smc propose candidate

This commit is contained in:
Nguyen Sy Thanh Son 2018-08-10 07:16:55 +00:00
parent a544971cd2
commit e6df6346db
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ contract TomoValidator {
}); });
validatorsState[_candidate].voters[msg.sender] = msg.value; validatorsState[_candidate].voters[msg.sender] = msg.value;
candidateCount = candidateCount + 1; candidateCount = candidateCount + 1;
voters[_candidate].push(_candidate); voters[_candidate].push(msg.sender);
emit Propose(msg.sender, _candidate, msg.value); emit Propose(msg.sender, _candidate, msg.value);
} }

File diff suppressed because one or more lines are too long