1
0

fix is_seeded

This commit is contained in:
ThomasV
2013-09-28 11:54:48 +02:00
parent 13fd5b7e3c
commit 3d4a16b5c8
2 changed files with 5 additions and 2 deletions

View File

@@ -500,6 +500,9 @@ class Wallet:
return roots
def is_seeded(self, account):
if type(account) is int:
return self.seed is not None
for root in self.get_roots(account):
if root not in self.master_private_keys.keys():
return False