Rename isCoinActive

This commit is contained in:
tecnovert 2025-01-03 22:46:47 +02:00
parent 54f56e0e2c
commit e71589a292
No known key found for this signature in database
GPG key ID: 8ED6D8750C4E3F93

View file

@ -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):