From 433e214393803bf0079e903f7fef79295b28aee7 Mon Sep 17 00:00:00 2001 From: Kirill Kuvshinov Date: Mon, 14 Aug 2023 11:57:11 +0300 Subject: [PATCH] fix: update method signature in access control check --- contracts/RiskFund/RiskFund.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/RiskFund/RiskFund.sol b/contracts/RiskFund/RiskFund.sol index 51a411ef9..3237585b2 100644 --- a/contracts/RiskFund/RiskFund.sol +++ b/contracts/RiskFund/RiskFund.sol @@ -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_);