diff '--color=auto' -Naur a/bitcointx/core/secp256k1.py b/bitcointx/core/secp256k1.py
--- a/bitcointx/core/secp256k1.py	2024-01-21 12:17:24.000000000 +0000
+++ b/bitcointx/core/secp256k1.py	2026-04-22 04:03:03.494385488 +0000
@@ -199,8 +199,9 @@
     lib.secp256k1_ec_pubkey_tweak_add.restype = ctypes.c_int
     lib.secp256k1_ec_pubkey_tweak_add.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p]
 
-    lib.secp256k1_ec_privkey_tweak_add.restype = ctypes.c_int
-    lib.secp256k1_ec_privkey_tweak_add.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p]
+    lib.secp256k1_ec_seckey_tweak_add.restype = ctypes.c_int
+    lib.secp256k1_ec_seckey_tweak_add.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p]
+    setattr(lib, 'secp256k1_ec_privkey_tweak_add', lib.secp256k1_ec_seckey_tweak_add)
 
     lib.secp256k1_ec_pubkey_serialize.restype = ctypes.c_int
     lib.secp256k1_ec_pubkey_serialize.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_size_t), ctypes.c_char_p, ctypes.c_uint]
@@ -210,10 +211,11 @@
         lib.secp256k1_ec_pubkey_negate.restype = ctypes.c_int
         lib.secp256k1_ec_pubkey_negate.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
 
-    if getattr(lib, 'secp256k1_ec_privkey_negate', None):
+    if getattr(lib, 'secp256k1_ec_seckey_negate', None):
         has_privkey_negate = True
-        lib.secp256k1_ec_privkey_negate.restype = ctypes.c_int
-        lib.secp256k1_ec_privkey_negate.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
+        lib.secp256k1_ec_seckey_negate.restype = ctypes.c_int
+        lib.secp256k1_ec_seckey_negate.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
+        setattr(lib, 'secp256k1_ec_privkey_negate', lib.secp256k1_ec_seckey_negate)
 
     lib.secp256k1_ec_pubkey_combine.restype = ctypes.c_int
     lib.secp256k1_ec_pubkey_combine.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_char_p), ctypes.c_int]
