1
0

disable privkey export menu in trezor wallets

This commit is contained in:
ThomasV
2014-09-09 14:30:57 +02:00
parent 265d74c542
commit 1fb8af40c5
3 changed files with 10 additions and 2 deletions

View File

@@ -1009,6 +1009,9 @@ class Abstract_Wallet(object):
def can_import(self):
return not self.is_watching_only()
def can_export(self):
return not self.is_watching_only()
def is_used(self, address):
h = self.history.get(address,[])
c, u = self.get_addr_balance(address)