exclude constuctor arguments to be required

pull/5370/head
Aniket-Engg 2 years ago committed by Aniket
parent 81e16f4a56
commit 4d688ee3dc
  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