Changed deltaWeight type from uint to uin256
This commit is contained in:
@ -51,7 +51,7 @@ contract GovernorBasicHarness is Governor, GovernorCountingSimple, GovernorVotes
|
|||||||
string memory reason
|
string memory reason
|
||||||
) internal override virtual returns (uint256) {
|
) 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;
|
ghost_sum_vote_power_by_id[proposalId] += deltaWeight;
|
||||||
|
|
||||||
return deltaWeight;
|
return deltaWeight;
|
||||||
|
|||||||
Reference in New Issue
Block a user