mirror of
https://github.com/basicswap/basicswap.git
synced 2026-05-29 23:31:40 +02:00
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user