Changed deltaWeight type from uint to uin256

This commit is contained in:
Michael M
2021-11-10 15:07:34 +02:00
committed by Aleksander Kryukov
parent 9b4634bebe
commit 5267eaac81

View File

@ -51,7 +51,7 @@ contract GovernorBasicHarness is Governor, GovernorCountingSimple, GovernorVotes
string memory reason
) internal override virtual returns (uint256) {
uint deltaWeight = super._castVote(proposalId, account, support, reason); //HARNESS
uint256 deltaWeight = super._castVote(proposalId, account, support, reason); //HARNESS
ghost_sum_vote_power_by_id[proposalId] += deltaWeight;
return deltaWeight;