We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 005c2cc commit 2160124Copy full SHA for 2160124
contracts/governance/extensions/GovernorVotesQuorumFraction.sol
@@ -49,7 +49,7 @@ abstract contract GovernorVotesQuorumFraction is GovernorVotes {
49
uint256 length = _quorumNumeratorHistory._checkpoints.length;
50
51
// Optimistic search, check the latest checkpoint
52
- Checkpoints.Checkpoint208 memory latest = _quorumNumeratorHistory._checkpoints[length - 1];
+ Checkpoints.Checkpoint208 storage latest = _quorumNumeratorHistory._checkpoints[length - 1];
53
uint48 latestKey = latest._key;
54
uint208 latestValue = latest._value;
55
if (latestKey <= timepoint) {
0 commit comments