mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
Rename isCoinActive
This commit is contained in:
@@ -1187,7 +1187,7 @@ class BasicSwap(BaseApp):
|
|||||||
if ci.isWalletLocked():
|
if ci.isWalletLocked():
|
||||||
raise LockedCoinError(Coins.PART)
|
raise LockedCoinError(Coins.PART)
|
||||||
|
|
||||||
def isCoinActive(self, c) -> bool:
|
def isBaseCoinActive(self, c) -> bool:
|
||||||
if c not in chainparams:
|
if c not in chainparams:
|
||||||
return False
|
return False
|
||||||
if self.coin_clients[c]["connection_type"] == "rpc":
|
if self.coin_clients[c]["connection_type"] == "rpc":
|
||||||
@@ -1196,7 +1196,7 @@ class BasicSwap(BaseApp):
|
|||||||
|
|
||||||
def activeCoins(self):
|
def activeCoins(self):
|
||||||
for c in Coins:
|
for c in Coins:
|
||||||
if self.isCoinActive(c):
|
if self.isBaseCoinActive(c):
|
||||||
yield c
|
yield c
|
||||||
|
|
||||||
def getListOfWalletCoins(self):
|
def getListOfWalletCoins(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user