From b777b2203a6287e5d2ec806c5e0e500e987b15aa Mon Sep 17 00:00:00 2001 From: Gregory Markou Date: Sat, 14 Aug 2021 23:46:56 +0300 Subject: [PATCH] [test] Remove txType from core-methods --- packages/web3-core-method/src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web3-core-method/src/index.js b/packages/web3-core-method/src/index.js index 319d66ffc97..c184407a304 100644 --- a/packages/web3-core-method/src/index.js +++ b/packages/web3-core-method/src/index.js @@ -782,8 +782,8 @@ Method.prototype.buildCall = function () { ) ) ) { - if (typeof payload.params[0].type === 'undefined') - payload.params[0].type = _handleTxType(payload.params[0]); + // if (typeof payload.params[0].type === 'undefined') + // payload.params[0].type = _handleTxType(payload.params[0]); _handleTxPricing(method, payload.params[0]).then(txPricing => { if (txPricing.gasPrice !== undefined) {