From e8dc8986c30f2968db6c659d08572592f70490ab Mon Sep 17 00:00:00 2001 From: philbow61 Date: Fri, 22 Nov 2024 13:16:42 +0100 Subject: [PATCH] chore: ignore slither warning --- contracts/goodDollar/GoodDollarExpansionController.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/goodDollar/GoodDollarExpansionController.sol b/contracts/goodDollar/GoodDollarExpansionController.sol index 540a66da..397fbc9c 100644 --- a/contracts/goodDollar/GoodDollarExpansionController.sol +++ b/contracts/goodDollar/GoodDollarExpansionController.sol @@ -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 );