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 @@ -1482,19 +1482,19 @@ class ProgramManager {
1482
1482
*
1483
1483
* @param {Object } params
1484
1484
* @param params.program {string} The program source code to synthesize keys for
1485
- * @param params.functionId {string} The function id to synthesize keys for
1485
+ * @param params.functionName {string} The function id to synthesize keys for
1486
1486
* @param params.inputs {Array<string>} Sample inputs to the function
1487
1487
* @param [params.privateKey] {PrivateKey | undefined} Optional private key to use for the key synthesis
1488
1488
*
1489
1489
* @returns {Promise<FunctionKeyPair> }
1490
1490
*/
1491
1491
async synthesizeKeys ( params : {
1492
1492
program : string ,
1493
- functionId : string ,
1493
+ functionName : string ,
1494
1494
inputs : Array < string > ,
1495
1495
privateKey ?: PrivateKey ,
1496
1496
} ) : Promise < FunctionKeyPair > {
1497
- let { program, functionId , inputs, privateKey } = params ;
1497
+ let { program, functionName , inputs, privateKey } = params ;
1498
1498
1499
1499
// Resolve the program imports if they exist
1500
1500
let imports ;
@@ -1514,7 +1514,7 @@ class ProgramManager {
1514
1514
const keyPair = await WasmProgramManager . synthesizeKeyPair (
1515
1515
executionPrivateKey ,
1516
1516
program ,
1517
- functionId ,
1517
+ functionName ,
1518
1518
inputs ,
1519
1519
imports ,
1520
1520
) ;
You can’t perform that action at this time.
0 commit comments