kopia lustrzana https://github.com/bugout-dev/moonstream
Checksum default is address.
rodzic
546504b08d
commit
9404ddb572
|
@ -42,6 +42,8 @@ async def add_subscription_handler(
|
||||||
"""
|
"""
|
||||||
token = request.state.token
|
token = request.state.token
|
||||||
|
|
||||||
|
checksum_address = address
|
||||||
|
|
||||||
if subscription_type_id != "ethereum_whalewatch":
|
if subscription_type_id != "ethereum_whalewatch":
|
||||||
try:
|
try:
|
||||||
checksum_address = web3.toChecksumAddress(address)
|
checksum_address = web3.toChecksumAddress(address)
|
||||||
|
|
Ładowanie…
Reference in New Issue