From dbd3834e7b5c86997d9bb724b5585801fcf143fd Mon Sep 17 00:00:00 2001 From: Dan Liu Date: Thu, 17 Mar 2022 12:12:02 +0800 Subject: [PATCH] newFee can equals maxStreamingFeePercentage in StreamingFeeModule --- contracts/protocol/modules/StreamingFeeModule.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/protocol/modules/StreamingFeeModule.sol b/contracts/protocol/modules/StreamingFeeModule.sol index 0acb0b876..a882241d9 100644 --- a/contracts/protocol/modules/StreamingFeeModule.sol +++ b/contracts/protocol/modules/StreamingFeeModule.sol @@ -155,7 +155,7 @@ contract StreamingFeeModule is ModuleBase, ReentrancyGuard { onlySetManager(_setToken, msg.sender) onlyValidAndInitializedSet(_setToken) { - require(_newFee < _maxStreamingFeePercentage(_setToken), "Fee must be less than max"); + require(_newFee <= _maxStreamingFeePercentage(_setToken), "Fee must <= max"); accrueFee(_setToken); feeStates[_setToken].streamingFeePercentage = _newFee;