Skip to content

Commit 92a8119

Browse files
committed
updated example docs for program-manager.ts to use const priorityFee = 0.0
1 parent 56f09b5 commit 92a8119

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
@@ -159,7 +159,7 @@ class ProgramManager {
159159
* programManager.setAccount(Account);
160160
*
161161
* // Define a fee in credits
162-
* const fee = 1.2;
162+
* const priorityFee = 0.0;
163163
*
164164
* // Create the deployment transaction.
165165
* const tx = await programManager.buildDeploymentTransaction(program, fee, false);
@@ -266,7 +266,7 @@ class ProgramManager {
266266
* const programManager = new ProgramManager("https://api.explorer.provable.com/v1", keyProvider, recordProvider);
267267
*
268268
* // Define a fee in credits
269-
* const fee = 1.2;
269+
* const priorityFee = 0.0;
270270
*
271271
* // Deploy the program
272272
* const tx_id = await programManager.deploy(program, fee, false);
@@ -311,7 +311,7 @@ class ProgramManager {
311311
* const tx = await programManager.buildExecutionTransaction({
312312
* programName: "hello_hello.aleo",
313313
* functionName: "hello_hello",
314-
* fee: 0.020,
314+
* priorityFee: 0.0,
315315
* privateFee: false,
316316
* inputs: ["5u32", "5u32"],
317317
* keySearchParams: { "cacheKey": "hello_hello:hello" }
@@ -435,7 +435,7 @@ class ProgramManager {
435435
* const tx_id = await programManager.execute({
436436
* programName: "hello_hello.aleo",
437437
* functionName: "hello_hello",
438-
* fee: 0.020,
438+
* priorityFee: 0.0,
439439
* privateFee: false,
440440
* inputs: ["5u32", "5u32"],
441441
* keySearchParams: { "cacheKey": "hello_hello:hello" }

0 commit comments

Comments
 (0)