From 61a95a4239e20d41aef60e4c035f9ed2326f4b81 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sat, 30 Jun 2018 22:40:50 +0200 Subject: [PATCH] ecc: only print warning about missing libsecp when in verbose mode --- lib/ecc_fast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ecc_fast.py b/lib/ecc_fast.py index f6daf5978..72f9b143c 100644 --- 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")