From 25dd3809e9d76f3b6fd147c9b9b83f73e136085f Mon Sep 17 00:00:00 2001 From: kewde Date: Tue, 26 May 2026 14:04:43 +0200 Subject: [PATCH] fix: public key validation https://github.com/basicswap/coincurve/blob/2bf23f173f411a60c66ba973231fadab772bfed2/src/coincurve/dleag.py#L63 --- basicswap/interface/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/basicswap/interface/base.py b/basicswap/interface/base.py index 9a8e0f2..295e9d7 100644 --- a/basicswap/interface/base.py +++ b/basicswap/interface/base.py @@ -222,8 +222,7 @@ class Secp256k1Interface(CoinInterface, AdaptorSigInterface): def isValidPubkey(self, pubkey: bytes) -> bool: try: - self.verifyPubkey(pubkey) - return True + return self.verifyPubkey(pubkey) except Exception: return False