Skip to content

Commit d1d46f3

Browse files
committed
Renaming functionId to functionName
1 parent e5fbcfd commit d1d46f3

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
@@ -1461,19 +1461,19 @@ class ProgramManager {
14611461
*
14621462
* @param {Object} params
14631463
* @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
14651465
* @param params.inputs {Array<string>} Sample inputs to the function
14661466
* @param [params.privateKey] {PrivateKey | undefined} Optional private key to use for the key synthesis
14671467
*
14681468
* @returns {Promise<FunctionKeyPair>}
14691469
*/
14701470
async synthesizeKeys(params: {
14711471
program: string,
1472-
functionId: string,
1472+
functionName: string,
14731473
inputs: Array<string>,
14741474
privateKey?: PrivateKey,
14751475
}): Promise<FunctionKeyPair> {
1476-
let { program, functionId, inputs, privateKey } = params;
1476+
let { program, functionName, inputs, privateKey } = params;
14771477

14781478
// Resolve the program imports if they exist
14791479
let imports;
@@ -1493,7 +1493,7 @@ class ProgramManager {
14931493
const keyPair = await WasmProgramManager.synthesizeKeyPair(
14941494
executionPrivateKey,
14951495
program,
1496-
functionId,
1496+
functionName,
14971497
inputs,
14981498
imports,
14991499
);

0 commit comments

Comments
 (0)