Skip to content

Commit

Permalink
chore: ignore slither warning
Browse files Browse the repository at this point in the history
  • Loading branch information
philbow61 committed Nov 22, 2024
1 parent 96fa1df commit e8dc898
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/goodDollar/GoodDollarExpansionController.sol
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ contract GoodDollarExpansionController is IGoodDollarExpansionController, Pausab
exchangeExpansionConfigs[exchangeId].lastExpansion = uint32(block.timestamp);
} else {
numberOfExpansions = (block.timestamp - config.lastExpansion) / config.expansionFrequency;
// slither-disable-next-line divide-before-multiply
exchangeExpansionConfigs[exchangeId].lastExpansion = uint32(
config.lastExpansion + numberOfExpansions * config.expansionFrequency
);
Expand Down

0 comments on commit e8dc898

Please sign in to comment.