From 6c8ab9e3fa5533dd27b67cbedfd03247c936d762 Mon Sep 17 00:00:00 2001 From: gzeon Date: Thu, 15 Aug 2024 00:57:29 +0900 Subject: [PATCH] fix: lint --- .../parent-chain/fast-confirm/EnableFastConfirmAction.sol | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contracts/parent-chain/fast-confirm/EnableFastConfirmAction.sol b/contracts/parent-chain/fast-confirm/EnableFastConfirmAction.sol index 3171b9f..356286e 100644 --- a/contracts/parent-chain/fast-confirm/EnableFastConfirmAction.sol +++ b/contracts/parent-chain/fast-confirm/EnableFastConfirmAction.sol @@ -32,7 +32,9 @@ contract EnableFastConfirmAction { GNOSIS_COMPATIBILITY_FALLBACK_HANDLER = gnosisCompatibilityFallbackHandler; } - function perform(IRollupAdmin rollup, address[] calldata fastConfirmCommittee, uint256 threshold, uint256 salt) external { + function perform(IRollupAdmin rollup, address[] calldata fastConfirmCommittee, uint256 threshold, uint256 salt) + external + { require(rollup.anyTrustFastConfirmer() == address(0), "Fast confirm already enabled"); require(threshold > 0 && threshold <= fastConfirmCommittee.length, "Invalid threshold"); for (uint256 i = 0; i < fastConfirmCommittee.length; i++) {