From d52056e775d007610c667246fc08ab58c9b6734e Mon Sep 17 00:00:00 2001 From: saurabh Date: Fri, 1 Dec 2023 18:59:23 +0530 Subject: [PATCH] changed param name --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 676f0dc..ce5b032 100644 --- a/src/index.js +++ b/src/index.js @@ -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 = {