Skip to content

Commit

Permalink
May 24, 2023, 3:43 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
xthet committed May 24, 2023
1 parent 5e188e7 commit 46da9ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/Campaign.sol
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ contract Campaign is KeeperCompatibleInterface, ReentrancyGuard{
delete aggrDonations[_donator];
if(entDonations[_donator].length > 0){
for(uint i=0; i<entDonations[_donator].length; i++){
if(!(rewards[i] != address(0))){
// Reward(rewards[i]).removeDonator(_donator);
if(!(rewards[entDonations[_donator][i]] != address(0))){
Reward(rewards[entDonations[_donator][i]] ).removeDonator(_donator);
}
}
}
Expand Down

0 comments on commit 46da9ba

Please sign in to comment.