Skip to content

Commit 49a2f4b

Browse files
chore: remove deprecated code (#125)
1 parent f0a8d33 commit 49a2f4b

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

eth_portfolio/_loaders/utils.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import msgspec
55
from async_lru import alru_cache
66
from eth_typing import HexStr
7-
from eth_utils import to_checksum_address
87
from y._decorators import stuck_coro_debugger
98

109

@@ -22,15 +21,3 @@ async def _get_transaction_receipt(txhash: HexStr) -> msgspec.Raw:
2221
num_workers=1000,
2322
name=__name__ + ".get_transaction_receipt",
2423
)
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

Comments
 (0)