mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-08 03:39:26 +00:00
Rename isCoinActive
This commit is contained in:
parent
54f56e0e2c
commit
e71589a292
1 changed files with 2 additions and 2 deletions
|
@ -1187,7 +1187,7 @@ class BasicSwap(BaseApp):
|
|||
if ci.isWalletLocked():
|
||||
raise LockedCoinError(Coins.PART)
|
||||
|
||||
def isCoinActive(self, c) -> bool:
|
||||
def isBaseCoinActive(self, c) -> bool:
|
||||
if c not in chainparams:
|
||||
return False
|
||||
if self.coin_clients[c]["connection_type"] == "rpc":
|
||||
|
@ -1196,7 +1196,7 @@ class BasicSwap(BaseApp):
|
|||
|
||||
def activeCoins(self):
|
||||
for c in Coins:
|
||||
if self.isCoinActive(c):
|
||||
if self.isBaseCoinActive(c):
|
||||
yield c
|
||||
|
||||
def getListOfWalletCoins(self):
|
||||
|
|
Loading…
Reference in a new issue