restore from mpk (text)
This commit is contained in:
parent
fe1a406309
commit
ec11dac3af
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…
Reference in New Issue