diff --git a/src/boilerplate/contract/solidity/raw/ContractBoilerplateGenerator.ts b/src/boilerplate/contract/solidity/raw/ContractBoilerplateGenerator.ts index 08621fc8c..59106c6da 100644 --- a/src/boilerplate/contract/solidity/raw/ContractBoilerplateGenerator.ts +++ b/src/boilerplate/contract/solidity/raw/ContractBoilerplateGenerator.ts @@ -225,7 +225,7 @@ class ContractBoilerplateGenerator { } - if(_params && !(Object.keys(_params).includes('returnParameters'))) verifyInput.push(` + if(_params && !(Object.keys(_params).includes('returnParameters')) &&!(Object.keys(_params).includes('encryptionParameters'))) verifyInput.push(` inputs[k++] = 1;`) verifyInputs.push(`