1
0

fix bug with has_seed

This commit is contained in:
ThomasV
2014-04-30 15:44:46 +02:00
parent dc22ba4d5e
commit 84052bcdb2
2 changed files with 7 additions and 3 deletions

View File

@@ -1126,10 +1126,10 @@ class Deterministic_Wallet(Abstract_Wallet):
Abstract_Wallet.__init__(self, storage)
def has_seed(self):
return self.seed == ''
return self.seed != ''
def is_watching_only(self):
return self.has_seed()
return not self.has_seed()
def check_password(self, password):
self.get_seed(password)