From 8fba5a8fe15d8f17e5002ff76611da9fdcb74404 Mon Sep 17 00:00:00 2001 From: Geometer1729 <16kuhnb@gmail.com> Date: Wed, 15 Jan 2025 11:26:24 -0500 Subject: [PATCH] update comments --- src/lib/mina/transaction.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/mina/transaction.ts b/src/lib/mina/transaction.ts index e7c2e7d27..844b47254 100644 --- a/src/lib/mina/transaction.ts +++ b/src/lib/mina/transaction.ts @@ -131,7 +131,7 @@ type Transaction< */ setFee(newFee:UInt64) : TransactionPromise; /** - * setFeePerSnarkCost behaves identically to {@link setFee} but the fee is given per Account Update in the transaction. This is useful because nodes prioritize transactions by fee per weight unit. + * setFeePerSnarkCost behaves identically to {@link Transaction.setFee} but the fee is given per estimated cost of snarking the transition as given by {@link getTotalTimeRequired}. This is useful because it should reflect what snark workers would charge in times of network contention. */ setFeePerSnarkCost(newFeePerSnarkCost:number) : TransactionPromise; } & (Proven extends false @@ -276,7 +276,7 @@ type PendingTransaction = Pick< */ setFee(newFee:UInt64):TransactionPromise; /** - * setFeePerSnarkCost is the same as {@link Transaction.setFeeWU(newFeePerWU)} but for a {@link PendingTransaction}. + * setFeePerSnarkCost is the same as {@link Transaction.setFeePerSnarkCost(newFeePerSnarkCost)} but for a {@link PendingTransaction}. */ setFeePerSnarkCost(newFeePerSnarkCost:number):TransactionPromise; };