mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-09 12:19:29 +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():
|
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):
|
||||||
|
|
Loading…
Reference in a new issue