Skip to content

Commit

Permalink
Fix stupid behavior that we copied for GovernorBravo
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx committed Sep 6, 2021
1 parent aefcb3e commit 2ef4b15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ abstract contract GovernorTimelockCompound is IGovernorTimelock, Governor {
uint256 eta = proposalEta(proposalId);
require(eta > 0, "GovernorTimelockCompound: proposal not yet queued");
for (uint256 i = 0; i < targets.length; ++i) {
_timelock.executeTransaction{value: values[i]}(targets[i], values[i], "", calldatas[i], eta);
_timelock.executeTransaction{value: i == 0 ? msg.value : 0}(targets[i], values[i], "", calldatas[i], eta);
}
}

Expand Down

0 comments on commit 2ef4b15

Please sign in to comment.