From 135b8b9bbe184a3050d8be3353a8d68bae1505ca Mon Sep 17 00:00:00 2001 From: Felipe Selmo Date: Thu, 29 Jul 2021 14:43:29 -0600 Subject: [PATCH] Remove default gasPrice from transactions.py --- web3/_utils/transactions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/web3/_utils/transactions.py b/web3/_utils/transactions.py index f4fdd0e0d7..0e1fcf818a 100644 --- a/web3/_utils/transactions.py +++ b/web3/_utils/transactions.py @@ -56,7 +56,6 @@ 'value': 0, 'data': b'', 'gas': lambda web3, tx: web3.eth.estimate_gas(tx), - 'gasPrice': lambda web3, tx: web3.eth.generate_gas_price(tx) or web3.eth.gas_price, 'chainId': lambda web3, tx: web3.eth.chain_id, }