Skip to content

Commit 4efe5f0

Browse files
committed
Renaming functionId to functionName
1 parent d17813c commit 4efe5f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sdk/src/program-manager.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,19 +1482,19 @@ class ProgramManager {
14821482
*
14831483
* @param {Object} params
14841484
* @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
14861486
* @param params.inputs {Array<string>} Sample inputs to the function
14871487
* @param [params.privateKey] {PrivateKey | undefined} Optional private key to use for the key synthesis
14881488
*
14891489
* @returns {Promise<FunctionKeyPair>}
14901490
*/
14911491
async synthesizeKeys(params: {
14921492
program: string,
1493-
functionId: string,
1493+
functionName: string,
14941494
inputs: Array<string>,
14951495
privateKey?: PrivateKey,
14961496
}): Promise<FunctionKeyPair> {
1497-
let { program, functionId, inputs, privateKey } = params;
1497+
let { program, functionName, inputs, privateKey } = params;
14981498

14991499
// Resolve the program imports if they exist
15001500
let imports;
@@ -1514,7 +1514,7 @@ class ProgramManager {
15141514
const keyPair = await WasmProgramManager.synthesizeKeyPair(
15151515
executionPrivateKey,
15161516
program,
1517-
functionId,
1517+
functionName,
15181518
inputs,
15191519
imports,
15201520
);

0 commit comments

Comments
 (0)