kopia lustrzana https://github.com/bugout-dev/moonstream
If try except order change
rodzic
f8c7de63a0
commit
4f17dfa998
|
@ -42,8 +42,8 @@ async def add_subscription_handler(
|
|||
"""
|
||||
token = request.state.token
|
||||
|
||||
try:
|
||||
if subscription_type_id != "ethereum_whalewatch":
|
||||
try:
|
||||
checksum_address = web3.toChecksumAddress(address)
|
||||
except ValueError as e:
|
||||
raise MoonstreamHTTPException(
|
||||
|
|
Ładowanie…
Reference in New Issue