HomePhabricator

[electrum] fix get_merkle_root when Electrum ABC is not installed

Description

[electrum] fix get_merkle_root when Electrum ABC is not installed

Summary: The script cannot import electrumabc if it is not in the python PATH. We could install ElectrumABC as a package with pip install . in update-electrum-checkpoints.sh, but it is simpler to just hack sys.path to make sure the script always work with the latest version of the source code.

Test Plan:

pip uninstall ElectrumABC
cd ./contrib/source-control-tools
./patch-recipes/update-electrum-checkpoints.sh

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15355

Details

Provenance
PiRKAuthored on Feb 1 2024, 07:40
PiRKPushed on Feb 1 2024, 08:51
Reviewer
Restricted Project
Differential Revision
D15355: [electrum] fix get_merkle_root when Electrum ABC is not installed
Parents
rABC27d3cb2b7313: [e.cash] add rss feed for blog
Branches
Unknown
Tags
Unknown