mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
restore from mpk (text)
This commit is contained in:
parent
fe1a406309
commit
ec11dac3af
1 changed files with 7 additions and 3 deletions
6
electrum
6
electrum
|
@ -315,10 +315,14 @@ if __name__ == '__main__':
|
|||
if not seed:
|
||||
sys.exit("Error: No seed")
|
||||
|
||||
if len(seed) == 128:
|
||||
wallet.seed = None
|
||||
wallet.master_public_key = seed
|
||||
else:
|
||||
wallet.seed = str(seed)
|
||||
wallet.init_mpk( wallet.seed )
|
||||
if not options.offline:
|
||||
|
||||
if not options.offline:
|
||||
interface = Interface(config)
|
||||
interface.start()
|
||||
wallet.interface = interface
|
||||
|
|
Loading…
Add table
Reference in a new issue