Skip to content

Commit

Permalink
fix: update method signature in access control check
Browse files Browse the repository at this point in the history
  • Loading branch information
kkirka committed Aug 14, 2023
1 parent db0e468 commit 433e214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/RiskFund/RiskFund.sol
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ contract RiskFund is AccessControlledV8, ExponentialNoError, ReserveHelpers, Max
address[][] calldata paths,
uint256 deadline
) external override nonReentrant returns (uint256) {
_checkAccessAllowed("swapPoolsAssets(address[],uint256[],address[][])");
_checkAccessAllowed("swapPoolsAssets(address[],uint256[],address[][],uint256)");
require(deadline >= block.timestamp, "Risk fund: deadline passed");
address poolRegistry_ = poolRegistry;
ensureNonzeroAddress(poolRegistry_);
Expand Down

0 comments on commit 433e214

Please sign in to comment.