Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometer1729 committed Jan 15, 2025
1 parent b1b7b1e commit 8fba5a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/mina/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ type Transaction<
*/
setFee(newFee:UInt64) : TransactionPromise<Proven,false>;
/**
* 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,false>;
} & (Proven extends false
Expand Down Expand Up @@ -276,7 +276,7 @@ type PendingTransaction = Pick<
*/
setFee(newFee:UInt64):TransactionPromise<boolean,false>;
/**
* 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<boolean,false>;
};
Expand Down

0 comments on commit 8fba5a8

Please sign in to comment.