Skip to content

Commit 58a59a6

Browse files
committed
Renaming functionId to functionName
1 parent 4e044c4 commit 58a59a6

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
@@ -1412,19 +1412,19 @@ class ProgramManager {
14121412
*
14131413
* @param {Object} params
14141414
* @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
14161416
* @param params.inputs {Array<string>} Sample inputs to the function
14171417
* @param [params.privateKey] {PrivateKey | undefined} Optional private key to use for the key synthesis
14181418
*
14191419
* @returns {Promise<FunctionKeyPair>}
14201420
*/
14211421
async synthesizeKeys(params: {
14221422
program: string,
1423-
functionId: string,
1423+
functionName: string,
14241424
inputs: Array<string>,
14251425
privateKey?: PrivateKey,
14261426
}): Promise<FunctionKeyPair> {
1427-
let { program, functionId, inputs, privateKey } = params;
1427+
let { program, functionName, inputs, privateKey } = params;
14281428

14291429
// Resolve the program imports if they exist
14301430
let imports;
@@ -1444,7 +1444,7 @@ class ProgramManager {
14441444
const keyPair = await WasmProgramManager.synthesizeKeyPair(
14451445
executionPrivateKey,
14461446
program,
1447-
functionId,
1447+
functionName,
14481448
inputs,
14491449
imports,
14501450
);

0 commit comments

Comments
 (0)