Skip to content

Commit

Permalink
set default value
Browse files Browse the repository at this point in the history
  • Loading branch information
julianmrodri committed Oct 18, 2023
1 parent a399c7b commit a2c4aea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/p0/Distributor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ contract DistributorP0 is ComponentP0, IDistributor {
// Evenly distribute revenue tokens per distribution share.
// This rounds "early", and that's deliberate!

bool updateRewards;
bool updateRewards = false;

for (uint256 i = 0; i < destinations.length(); i++) {
address addrTo = destinations.at(i);
Expand Down
2 changes: 1 addition & 1 deletion contracts/p1/Distributor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ contract DistributorP1 is ComponentP1, IDistributor {
address furnaceAddr = furnace; // gas-saver
address stRSRAddr = stRSR; // gas-saver

bool updateRewards;
bool updateRewards = false;

for (uint256 i = 0; i < destinations.length(); ++i) {
address addrTo = destinations.at(i);
Expand Down

0 comments on commit a2c4aea

Please sign in to comment.