1
0

wallet fixes

This commit is contained in:
ThomasV
2014-07-30 12:46:03 +02:00
parent 642258ebaa
commit 10faf75ee7
2 changed files with 6 additions and 4 deletions

View File

@@ -355,7 +355,9 @@ class Abstract_Wallet(object):
return self.accounts[account_id].get_pubkeys(*sequence)
def add_keypairs(self, tx, keypairs, password):
# first check the provided password. This will raise if invalid.
if self.is_watching_only():
return
self.check_password(password)
addr_list, xpub_list = tx.inputs_to_sign()