File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1412,19 +1412,19 @@ class ProgramManager {
1412
1412
*
1413
1413
* @param {Object } params
1414
1414
* @param params.program {string} The program source code to synthesize keys for
1415
- * @param params.functionId {string} The function id to synthesize keys for
1415
+ * @param params.functionName {string} The function id to synthesize keys for
1416
1416
* @param params.inputs {Array<string>} Sample inputs to the function
1417
1417
* @param [params.privateKey] {PrivateKey | undefined} Optional private key to use for the key synthesis
1418
1418
*
1419
1419
* @returns {Promise<FunctionKeyPair> }
1420
1420
*/
1421
1421
async synthesizeKeys ( params : {
1422
1422
program : string ,
1423
- functionId : string ,
1423
+ functionName : string ,
1424
1424
inputs : Array < string > ,
1425
1425
privateKey ?: PrivateKey ,
1426
1426
} ) : Promise < FunctionKeyPair > {
1427
- let { program, functionId , inputs, privateKey } = params ;
1427
+ let { program, functionName , inputs, privateKey } = params ;
1428
1428
1429
1429
// Resolve the program imports if they exist
1430
1430
let imports ;
@@ -1444,7 +1444,7 @@ class ProgramManager {
1444
1444
const keyPair = await WasmProgramManager . synthesizeKeyPair (
1445
1445
executionPrivateKey ,
1446
1446
program ,
1447
- functionId ,
1447
+ functionName ,
1448
1448
inputs ,
1449
1449
imports ,
1450
1450
) ;
You can’t perform that action at this time.
0 commit comments