Skip to content

Commit

Permalink
Update return value for direct project retirement
Browse files Browse the repository at this point in the history
  • Loading branch information
cujowolf committed Feb 22, 2023
1 parent bcdecf9 commit 55366f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ contract RetireC3C3TFacet is ReentrancyGuard {
retirementMessage
);

return s.a[beneficiaryAddress].totalRetirements;
return LibRetire.getTotalRetirements(beneficiaryAddress);
}

/**
Expand Down Expand Up @@ -99,6 +99,6 @@ contract RetireC3C3TFacet is ReentrancyGuard {
retirementMessage
);

return s.a[beneficiaryAddress].totalRetirements;
return LibRetire.getTotalRetirements(beneficiaryAddress);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ contract RetireToucanTCO2Facet is ReentrancyGuard {
retirementMessage
);

return s.a[beneficiaryAddress].totalRetirements;
return LibRetire.getTotalRetirements(beneficiaryAddress);
}

/**
Expand Down Expand Up @@ -99,6 +99,6 @@ contract RetireToucanTCO2Facet is ReentrancyGuard {
retirementMessage
);

return s.a[beneficiaryAddress].totalRetirements;
return LibRetire.getTotalRetirements(beneficiaryAddress);
}
}

0 comments on commit 55366f6

Please sign in to comment.