We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0a8d33 commit 49a2f4bCopy full SHA for 49a2f4b
eth_portfolio/_loaders/utils.py
@@ -4,7 +4,6 @@
4
import msgspec
5
from async_lru import alru_cache
6
from eth_typing import HexStr
7
-from eth_utils import to_checksum_address
8
from y._decorators import stuck_coro_debugger
9
10
@@ -22,15 +21,3 @@ async def _get_transaction_receipt(txhash: HexStr) -> msgspec.Raw:
22
21
num_workers=1000,
23
name=__name__ + ".get_transaction_receipt",
24
)
25
-
26
27
-def checksum(addr: str) -> str:
28
- """We keep a mapping here to save cpu cycles, checksumming is arduous."""
29
- try:
30
- return __checksums[addr]
31
- except KeyError:
32
- checksummed = __checksums[addr] = to_checksum_address(addr)
33
- return checksummed
34
35
36
-__checksums = {}
0 commit comments