Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion uniswap/uniswap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1436,7 +1436,7 @@ def _build_and_send_tx(
tx_params = self._get_tx_params()
transaction = function.build_transaction(tx_params)

if "gas" not in tx_params:
if "gas" not in transaction:
# `use_estimate_gas` needs to be True for networks like Arbitrum (can't assume 250000 gas),
# but it breaks tests for unknown reasons because estimate_gas takes forever on some tx's.
# Maybe an issue with ganache? (got GC warnings once...)
Expand Down