1
0

fix command line interface for hardware wallets. fixes #3056

This commit is contained in:
ThomasV
2017-10-19 11:59:36 +02:00
parent 3c281c4056
commit 24442de8df
8 changed files with 71 additions and 76 deletions

View File

@@ -37,7 +37,7 @@ from .bitcoin import *
from .bitcoin import is_old_seed, is_new_seed, is_seed
from .util import PrintError, InvalidPassword, hfu
from .mnemonic import Mnemonic, load_wordlist
from .plugins import run_hook
class KeyStore(PrintError):
@@ -488,6 +488,7 @@ class Hardware_KeyStore(KeyStore, Xpub):
self.label = d.get('label')
self.derivation = d.get('derivation')
self.handler = None
run_hook('init_keystore', self)
def set_label(self, label):
self.label = label