Skip to content

Commit

Permalink
Merge pull request #336 from curvefi/fix/fixed-gas-for-x-layer
Browse files Browse the repository at this point in the history
refactor: removed console.log
  • Loading branch information
amytsang authored May 13, 2024
2 parents f749417 + 5f5d19a commit 6f07236
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@curvefi/api",
"version": "2.58.6",
"version": "2.58.7",
"description": "JavaScript library for curve.fi",
"main": "lib/index.js",
"author": "Macket",
Expand Down
1 change: 0 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@ export const getGasPriceByLastTransactions = async () => {

for (const txHash of block.transactions) {
const tx = await provider.getTransaction(txHash);
console.log(tx, tx?.gasPrice);
if (!tx) continue;

totalGasPrice = totalGasPrice + Number(tx.gasPrice);
Expand Down

0 comments on commit 6f07236

Please sign in to comment.