mirror of
https://github.com/basicswap/basicswap.git
synced 2026-05-30 07:41:41 +02:00
Merge pull request #478 from kewde/patch-2
fix: use main address for XMR & WOW
This commit is contained in:
@@ -11896,7 +11896,7 @@ class BasicSwap(BaseApp, BSXNetwork, UIApp):
|
|||||||
)
|
)
|
||||||
vkbs = ci_to.sumKeys(kbsl, kbsf)
|
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)
|
address_to = self.getCachedMainWalletAddress(ci_to, cursor)
|
||||||
elif coin_to in (Coins.PART_BLIND, Coins.PART_ANON):
|
elif coin_to in (Coins.PART_BLIND, Coins.PART_ANON):
|
||||||
address_to = self.getCachedStealthAddressForCoin(coin_to, cursor)
|
address_to = self.getCachedStealthAddressForCoin(coin_to, cursor)
|
||||||
|
|||||||
Reference in New Issue
Block a user