From 8ba46c194d428c12acebf42c6e4d34ba2500ac2b Mon Sep 17 00:00:00 2001 From: Will Kim Date: Wed, 25 Sep 2019 15:50:25 -0400 Subject: [PATCH] fix: correctly pass args --- lib/compute-witness.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compute-witness.js b/lib/compute-witness.js index 02a9c18..552ad84 100644 --- a/lib/compute-witness.js +++ b/lib/compute-witness.js @@ -37,7 +37,7 @@ async function computeWitness(codePath, outputDirectory = './', outputName = 'wi return new Promise(resolve => { const zokrates = spawn( '/app/zokrates', - ['compute-witness', '-i', codePath, '-o', `${parsedOutputPath}${outputName}`, '-a', args], + ['compute-witness', '-i', codePath, '-o', `${parsedOutputPath}${outputName}`, '-a', ...args], { stdio: ['pipe', 'pipe', 'pipe'], env: {