mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
fix bug smc propose candidate
This commit is contained in:
parent
a544971cd2
commit
e6df6346db
2 changed files with 2 additions and 2 deletions
|
|
@ -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
Loading…
Reference in a new issue