kewde
2026-05-26 14:04:43 +02:00
committed by GitHub
parent be1dbaeeaa
commit 25dd3809e9
+1 -2
View File
@@ -222,8 +222,7 @@ class Secp256k1Interface(CoinInterface, AdaptorSigInterface):
def isValidPubkey(self, pubkey: bytes) -> bool: def isValidPubkey(self, pubkey: bytes) -> bool:
try: try:
self.verifyPubkey(pubkey) return self.verifyPubkey(pubkey)
return True
except Exception: except Exception:
return False return False