···11+diff --git a/contrib/deterministic-build/requirements.txt b/contrib/deterministic-build/requirements.txt
22+index 7441e3389..2a4718f96 100644
33+--- a/contrib/deterministic-build/requirements.txt
44++++ b/contrib/deterministic-build/requirements.txt
55+@@ -74,9 +74,8 @@ aiohttp==3.8.1 \
66+ aiohttp-socks==0.7.1 \
77+ --hash=sha256:2215cac4891ef3fa14b7d600ed343ed0f0a670c23b10e4142aa862b3db20341a \
88+ --hash=sha256:94bcff5ef73611c6c6231c2ffc1be4af1599abec90dbd2fdbbd63233ec2fb0ff
99+-aiorpcX==0.22.1 \
1010+- --hash=sha256:6026f7bed3432e206589c94dcf599be8cd85b5736b118c7275845c1bd922a553 \
1111+- --hash=sha256:e74f9fbed3fd21598e71fe05066618fc2c06feec504fe29490ddda05fdbdde62
1212++aiorpcX==0.23.1 \
1313++ --hash=sha256:5b23002f1a4d5d3085e31555a07519c5ef8d4c40071eb499556ffda8114860a2
1414+ aiosignal==1.2.0 \
1515+ --hash=sha256:26e62109036cd181df6e6ad646f91f0dcfd05fe16d0cb924138ff2ab75d64e3a \
1616+ --hash=sha256:78ed67db6c7b7ced4f98e495e572106d5c432a93e1ddd1bf475e1dc05f5b7df2
1717+diff --git a/contrib/requirements/requirements.txt b/contrib/requirements/requirements.txt
1818+index 04b0a77f3..2330ea921 100644
1919+--- a/contrib/requirements/requirements.txt
2020++++ b/contrib/requirements/requirements.txt
2121+@@ -1,7 +1,7 @@
2222+ qrcode
2323+ protobuf>=3.12
2424+ qdarkstyle>=2.7
2525+-aiorpcx>=0.22.0,<0.23
2626++aiorpcx>=0.22.0,<0.24
2727+ aiohttp>=3.3.0,<4.0.0
2828+ aiohttp_socks>=0.3
2929+ certifi
3030+diff --git a/run_electrum b/run_electrum
3131+index a1b30f29e..cb22f8724 100755
3232+--- a/run_electrum
3333++++ b/run_electrum
3434+@@ -67,8 +67,8 @@ def check_imports():
3535+ import aiorpcx
3636+ except ImportError as e:
3737+ sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install <module-name>'")
3838+- if not ((0, 22, 0) <= aiorpcx._version < (0, 23)):
3939+- raise RuntimeError(f'aiorpcX version {aiorpcx._version} does not match required: 0.22.0<=ver<0.23')
4040++ if not ((0, 22, 0) <= aiorpcx._version < (0, 24)):
4141++ raise RuntimeError(f'aiorpcX version {aiorpcx._version} does not match required: 0.22.0<=ver<0.24')
4242+ # the following imports are for pyinstaller
4343+ from google.protobuf import descriptor
4444+ from google.protobuf import message
+20
pkgs/applications/misc/electrum/ltc.nix
···8282 qdarkstyle
8383 ];
84848585+ patches = [
8686+ # electrum-ltc attempts to pin to aiorpcX < 0.23, but nixpkgs
8787+ # has moved to newer versions.
8888+ #
8989+ # electrum-ltc hasn't been updated in some time, so we replicate
9090+ # the patch from electrum (BTC) and alter it to be usable with
9191+ # electrum-ltc.
9292+ #
9393+ # Similar to the BTC patch, we need to overwrite the symlink
9494+ # at electrum_ltc/electrum-ltc with the patched run_electrum
9595+ # in postPatch.
9696+ ./ltc-aiorpcX-version-bump.patch
9797+ ];
9898+9999+ postPatch = ''
100100+ # copy the patched `/run_electrum` over `/electrum/electrum`
101101+ # so the aiorpcx compatibility patch is used
102102+ cp run_electrum electrum_ltc/electrum-ltc
103103+ '';
104104+85105 preBuild = ''
86106 sed -i 's,usr_share = .*,usr_share = "'$out'/share",g' setup.py
87107 substituteInPlace ./electrum_ltc/ecc_fast.py \