Improved efficency

This commit is contained in:
Maximilian Giller 2019-07-05 21:32:01 +02:00
parent fdb4331aec
commit 059fc84cb3

View file

@ -26,6 +26,9 @@ class GeckoCrypto(CryptoInterface):
return False return False
def __get_coins__(self): def __get_coins__(self):
if len(self.coin_ids) == 0:
return []
self.__prepare_metadata__() self.__prepare_metadata__()
coins = [] coins = []
for id in self.coin_ids: for id in self.coin_ids: