commit 7044f1145f3a20f3a72d8ec7e93435ebc541f226 parent 941df4153bebb97834ddb12dc5e5f8367e691d74 Author: SomberNight <somber.night@protonmail.com> Date: Fri, 17 Aug 2018 16:01:03 +0200 ecc_fast: clarify fallback message Diffstat:
M | electrum/ecc_fast.py | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/electrum/ecc_fast.py b/electrum/ecc_fast.py @@ -184,7 +184,9 @@ def _prepare_monkey_patching_of_python_ecdsa_internals_with_libsecp256k1(): def do_monkey_patching_of_python_ecdsa_internals_with_libsecp256k1(): if not _libsecp256k1: - print_error('[ecc] warning: libsecp256k1 library not available, falling back to python-ecdsa') + # FIXME print_error will always print as 'verbosity' is not yet initialised + print_error('[ecc] info: libsecp256k1 library not available, falling back to python-ecdsa. ' + 'This means signing operations will be slower.') return if not _patched_functions.prepared_to_patch: raise Exception("can't patch python-ecdsa without preparations")