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 @@ -1461,19 +1461,19 @@ class ProgramManager {
1461
1461
*
1462
1462
* @param {Object } params
1463
1463
* @param params.program {string} The program source code to synthesize keys for
1464
- * @param params.functionId {string} The function id to synthesize keys for
1464
+ * @param params.functionName {string} The function id to synthesize keys for
1465
1465
* @param params.inputs {Array<string>} Sample inputs to the function
1466
1466
* @param [params.privateKey] {PrivateKey | undefined} Optional private key to use for the key synthesis
1467
1467
*
1468
1468
* @returns {Promise<FunctionKeyPair> }
1469
1469
*/
1470
1470
async synthesizeKeys ( params : {
1471
1471
program : string ,
1472
- functionId : string ,
1472
+ functionName : string ,
1473
1473
inputs : Array < string > ,
1474
1474
privateKey ?: PrivateKey ,
1475
1475
} ) : Promise < FunctionKeyPair > {
1476
- let { program, functionId , inputs, privateKey } = params ;
1476
+ let { program, functionName , inputs, privateKey } = params ;
1477
1477
1478
1478
// Resolve the program imports if they exist
1479
1479
let imports ;
@@ -1493,7 +1493,7 @@ class ProgramManager {
1493
1493
const keyPair = await WasmProgramManager . synthesizeKeyPair (
1494
1494
executionPrivateKey ,
1495
1495
program ,
1496
- functionId ,
1496
+ functionName ,
1497
1497
inputs ,
1498
1498
imports ,
1499
1499
) ;
You can’t perform that action at this time.
0 commit comments