commit 61a95a4239e20d41aef60e4c035f9ed2326f4b81
parent 107f0988b3e105882576c28e8f9d42a58b357542
Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 30 Jun 2018 22:40:50 +0200
ecc: only print warning about missing libsecp when in verbose mode
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ecc_fast.py b/lib/ecc_fast.py
@@ -181,7 +181,7 @@ def _prepare_monkey_patching_of_python_ecdsa_internals_with_libsecp256k1():
def do_monkey_patching_of_python_ecdsa_internals_with_libsecp256k1():
if not _libsecp256k1:
- print_stderr('[ecc] warning: libsecp256k1 library not available, falling back to python-ecdsa')
+ print_error('[ecc] warning: libsecp256k1 library not available, falling back to python-ecdsa')
return
if not _patched_functions.prepared_to_patch:
raise Exception("can't patch python-ecdsa without preparations")