Skip to content

Commit

Permalink
changed param name
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainLEVI-XXX committed Dec 1, 2023
1 parent 7b5553b commit d52056e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,8 @@ class KeyringController extends EventEmitter {
return { transactionDetails: receipt.transactionHash }
}

async getFees(velasTx, web3) {
const { from, to, value, data, manualLimit } = velasTx
async getFees(arbitrumTx, web3) {
const { from, to, value, data, manualLimit } = arbitrumTx
const gasLimit = manualLimit ? manualLimit : await web3.eth.estimateGas({ to, from, value, data })
const gasPrice = parseInt(await web3.eth.getGasPrice());
const fees = {
Expand Down

0 comments on commit d52056e

Please sign in to comment.