Skip to content

Commit

Permalink
fix: remove 'if' fallthrough
Browse files Browse the repository at this point in the history
Co-authored-by: Juliya Smith <yingthi@live.com>
  • Loading branch information
helloibis and antazoey committed Sep 14, 2022
1 parent 5dccaf8 commit 4bbef62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ape_test/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def estimate_gas_cost(self, txn: TransactionAPI, **kwargs) -> int:
if isinstance(self.network.gas_limit, int):
return self.network.gas_limit

if self.network.gas_limit == "max":
elif self.network.gas_limit == "max":
block = self.web3.eth.get_block("latest")
return block["gasLimit"]

Expand Down

0 comments on commit 4bbef62

Please sign in to comment.