Skip to content

Commit

Permalink
replace lamports with microlamports
Browse files Browse the repository at this point in the history
  • Loading branch information
Nagaprasadvr committed Apr 22, 2024
1 parent 60ba2a0 commit 62926b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/js/src/utils/TransactionBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export class TransactionBuilder<C extends object = object> {
: TRANSACTION_PRIORITY_FEE_MAP[convergence.transactionPriority];
return this.add({
instruction: ComputeBudgetProgram.setComputeUnitPrice({
microLamports: txPriorityInLamports * Math.pow(10, 6),
microLamports: txPriorityInLamports,
}),
signers: [],
});
Expand Down

0 comments on commit 62926b4

Please sign in to comment.