Skip to content

Commit

Permalink
Delete invalid cache wrapper on get_erc20_token (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-rudnik authored Dec 1, 2022
1 parent 22bc056 commit 3b92a8f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ethtx/providers/web3_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ def get_code_hash(
return code_hash

# get the erc20 token data from the node
@cache
def get_erc20_token(
self,
token_address: str,
Expand Down Expand Up @@ -343,7 +342,6 @@ def get_erc20_token(
return dict(address=token_address, symbol=symbol, name=name, decimals=decimals)

# guess if the contract is and erc20 token and get the data
@cache
def guess_erc20_token(self, contract_address, chain_id: Optional[str] = None):
chain = self._get_node_connection(chain_id)

Expand Down

0 comments on commit 3b92a8f

Please sign in to comment.