mirror of
https://github.com/basicswap/basicswap.git
synced 2024-12-23 03:49:25 +00:00
Fix unlock.
This commit is contained in:
parent
38fa498b0b
commit
03fdf44220
1 changed files with 1 additions and 5 deletions
|
@ -8,7 +8,6 @@ import os
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
import zmq
|
import zmq
|
||||||
import copy
|
|
||||||
import json
|
import json
|
||||||
import time
|
import time
|
||||||
import base64
|
import base64
|
||||||
|
@ -866,11 +865,8 @@ class BasicSwap(BaseApp):
|
||||||
yield c
|
yield c
|
||||||
|
|
||||||
def getListOfWalletCoins(self):
|
def getListOfWalletCoins(self):
|
||||||
coins_list = copy.deepcopy(self.activeCoins())
|
|
||||||
# Always unlock Particl first
|
# Always unlock Particl first
|
||||||
if Coins.PART in coins_list:
|
coins_list = [Coins.PART, ] + [c for c in self.activeCoins() if c != Coins.PART]
|
||||||
coins_list.pop(Coins.PART)
|
|
||||||
coins_list = [Coins.PART,] + coins_list
|
|
||||||
if Coins.LTC in coins_list:
|
if Coins.LTC in coins_list:
|
||||||
coins_list.append(Coins.LTC_MWEB)
|
coins_list.append(Coins.LTC_MWEB)
|
||||||
return coins_list
|
return coins_list
|
||||||
|
|
Loading…
Reference in a new issue