main_tool: disable aiohttp backend for arm64

This commit is contained in:
The MMGen Project 2026-05-17 18:03:37 +00:00
commit e2ea3b5d26
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

View file

@ -384,7 +384,9 @@ if gc.prog_name.endswith('-tool'):
opts_data = opts_data,
parsed_opts = po,
need_proto = cls.need_proto,
init_opts = {'rpc_backend':'aiohttp'} if cmd == 'twimport' else None,
init_opts = {'rpc_backend':'aiohttp'} if cmd == 'twimport'
and gc.machine != 'aarch64' # TODO: aiohttp + Reth is broken for arm64
else None,
process_opts = True)
cmd, *args = cfg._args