We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32736bb commit c39dd52Copy full SHA for c39dd52
libs/ledger-live-common/src/families/aptos/js-getFeesForTransaction.ts
@@ -109,18 +109,14 @@ export const getFee = async (
109
return res;
110
};
111
112
-const getCacheKey = (transaction: Transaction): string => {
113
- console.log("#########");
114
- console.log(transaction);
115
116
- return JSON.stringify({
+const getCacheKey = (transaction: Transaction): string =>
+ JSON.stringify({
117
amount: transaction.amount,
118
gasUnitPrice: transaction.options.gasUnitPrice,
119
maxGasAmount: transaction.options.maxGasAmount,
120
sequenceNumber: transaction.options.sequenceNumber,
121
expirationTimestampSecs: transaction.options.expirationTimestampSecs,
122
});
123
-};
124
125
export const getEstimatedGas = async (
126
account: Account,
0 commit comments