From 713ba6f865d3d7a25d4e38a632ec25b97140e768 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Fri, 21 Apr 2023 12:43:01 +0530 Subject: [PATCH] exclude constuctor arguments to be required --- apps/etherscan/src/app/views/VerifyView.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/etherscan/src/app/views/VerifyView.tsx b/apps/etherscan/src/app/views/VerifyView.tsx index aa90d28aa7..65658ed518 100644 --- a/apps/etherscan/src/app/views/VerifyView.tsx +++ b/apps/etherscan/src/app/views/VerifyView.tsx @@ -182,10 +182,8 @@ export const VerifyView: React.FC = ({ isSubmitting={isSubmitting} disable={ !contracts.length || !touched.contractName || - (showConstructorArgs && !touched.contractArguments) || !touched.contractAddress || (touched.contractName && errors.contractName) || - (showConstructorArgs && touched.contractArguments && errors.contractArguments) || (touched.contractAddress && errors.contractAddress) ? true : false}