Skip to content

Commit

Permalink
fix: cond
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Jan 13, 2025
1 parent 415ecf8 commit e4f2f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ape_ethereum/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def estimate_gas_cost(self, txn: TransactionAPI, block_id: Optional["BlockID"] =
@cached_property
def chain_id(self) -> int:
default_chain_id = None
if (not self.network.is_adhoc and self.network.is_custom) and not self.network.is_dev:
if (not self.network.is_adhoc and self.network.is_custom) or not self.network.is_dev:
# If using a live network, the chain ID is hardcoded.
default_chain_id = self.network.chain_id

Expand Down

0 comments on commit e4f2f20

Please sign in to comment.