From 9f441373fe24697ec56dd39189071cdbc40c342f Mon Sep 17 00:00:00 2001 From: Andrey Date: Tue, 18 Oct 2022 16:39:44 +0300 Subject: [PATCH] Add covert args address to checksum address. --- crawlers/mooncrawl/mooncrawl/moonworm_crawler/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crawlers/mooncrawl/mooncrawl/moonworm_crawler/cli.py b/crawlers/mooncrawl/mooncrawl/moonworm_crawler/cli.py index 98900c28..ca4e5f38 100644 --- a/crawlers/mooncrawl/mooncrawl/moonworm_crawler/cli.py +++ b/crawlers/mooncrawl/mooncrawl/moonworm_crawler/cli.py @@ -121,7 +121,8 @@ def handle_historical_crawl(args: argparse.Namespace) -> None: addresses_filter = [] if args.address is not None: - addresses_filter = [args.address] + addresses_filter = [Web3.toChecksumAddress(args.address)] + all_event_jobs = make_event_crawl_jobs( get_crawl_job_entries( subscription_type,