From 03fdf44220c665673c237c90696c0c91c63d738b Mon Sep 17 00:00:00 2001 From: tecnovert Date: Sat, 30 Dec 2023 10:31:41 +0200 Subject: [PATCH] Fix unlock. --- basicswap/basicswap.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/basicswap/basicswap.py b/basicswap/basicswap.py index 31ec870..4bf74f8 100644 --- a/basicswap/basicswap.py +++ b/basicswap/basicswap.py @@ -8,7 +8,6 @@ import os import re import sys import zmq -import copy import json import time import base64 @@ -866,11 +865,8 @@ class BasicSwap(BaseApp): yield c def getListOfWalletCoins(self): - coins_list = copy.deepcopy(self.activeCoins()) # Always unlock Particl first - if Coins.PART in coins_list: - coins_list.pop(Coins.PART) - coins_list = [Coins.PART,] + coins_list + coins_list = [Coins.PART, ] + [c for c in self.activeCoins() if c != Coins.PART] if Coins.LTC in coins_list: coins_list.append(Coins.LTC_MWEB) return coins_list