1
0

set wallet.can_change_password and wallet.has_seed for trezor

This commit is contained in:
ThomasV
2014-08-19 10:36:55 +02:00
parent 11e1e0e923
commit 20f93f7df0
3 changed files with 16 additions and 12 deletions

View File

@@ -992,6 +992,12 @@ class Abstract_Wallet(object):
def can_sign(self, tx):
pass
def is_watching_only(self):
False
def can_change_password(self):
return not self.is_watching_only()
class Imported_Wallet(Abstract_Wallet):
def __init__(self, storage):