mirror of
https://github.com/basicswap/basicswap.git
synced 2026-05-30 07:41:41 +02:00
Compare commits
4 Commits
master
...
7bf3dce974
| Author | SHA1 | Date | |
|---|---|---|---|
| 7bf3dce974 | |||
| b6e922e3a8 | |||
| 59be986aa4 | |||
| 25dd3809e9 |
@@ -11896,7 +11896,7 @@ class BasicSwap(BaseApp, BSXNetwork, UIApp):
|
||||
)
|
||||
vkbs = ci_to.sumKeys(kbsl, kbsf)
|
||||
|
||||
if coin_to == (Coins.XMR, Coins.WOW):
|
||||
if coin_to in (Coins.XMR, Coins.WOW):
|
||||
address_to = self.getCachedMainWalletAddress(ci_to, cursor)
|
||||
elif coin_to in (Coins.PART_BLIND, Coins.PART_ANON):
|
||||
address_to = self.getCachedStealthAddressForCoin(coin_to, cursor)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user