Checksum default is address.

pull/366/head
Andrey Dolgolev 2021-11-04 16:19:28 +03:00
rodzic 546504b08d
commit 9404ddb572
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -42,6 +42,8 @@ async def add_subscription_handler(
"""
token = request.state.token
checksum_address = address
if subscription_type_id != "ethereum_whalewatch":
try:
checksum_address = web3.toChecksumAddress(address)