exclude constuctor arguments to be required

pull/3648/head
Aniket-Engg 2 years ago committed by Aniket
parent 07392de8dc
commit 713ba6f865
  1. 2
      apps/etherscan/src/app/views/VerifyView.tsx

@ -182,10 +182,8 @@ export const VerifyView: React.FC<Props> = ({
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}

Loading…
Cancel
Save