1
0

Fix some more regressions and trustedcoin plugin

This commit is contained in:
Neil Booth
2016-01-13 22:25:40 +09:00
parent fd66e15d3d
commit 6178f5a28f
3 changed files with 39 additions and 36 deletions

View File

@@ -345,7 +345,7 @@ class TrustedCoinPlugin(BasePlugin):
_('If you are online, click on "%s" to continue.') % _('Next')
]
msg = '\n\n'.join(msg)
window.confirm(msg)
self.confirm(window, msg)
@hook
def do_clear(self, window):
@@ -361,7 +361,7 @@ class TrustedCoinPlugin(BasePlugin):
words = seed.split()
n = len(words)/2
wallet.add_xprv_from_seed(' '.join(words[0:n]), 'x1/', password)
wallet.add_xpub_from_seed(' '.join(words[n:]), 'x2/', password)
wallet.add_xpub_from_seed(' '.join(words[n:]), 'x2/')
restore_third_key(wallet)
wallet.create_main_account()