Skip to content

Commit

Permalink
fix: return values in contract when encryption is used
Browse files Browse the repository at this point in the history
  • Loading branch information
lydiagarms committed Jun 5, 2024
1 parent 46c5633 commit 16ff0cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(`
Expand Down

0 comments on commit 16ff0cd

Please sign in to comment.