Skip to content

Commit 4702052

Browse files
authored
Update key.py
To resolve the error `FileNotFoundError: Could not find module 'libeay32' (or one of its dependencies). Try using the full path with constructor syntax.` occurring on Windows
1 parent e5e2a36 commit 4702052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin/core/key.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import bitcoin.core.script
2626

2727
_ssl = ctypes.cdll.LoadLibrary(
28-
ctypes.util.find_library('ssl.35') or ctypes.util.find_library('ssl') or 'libeay32'
28+
ctypes.util.find_library('ssl.35') or ctypes.util.find_library('ssl') or ctypes.util.find_library('libeay32')
2929
)
3030

3131
_libsecp256k1_path = ctypes.util.find_library('secp256k1')

0 commit comments

Comments
 (0)