Browse Source

restore from mpk (text)

283
ThomasV 12 years ago
parent
commit
ec11dac3af
  1. 10
      electrum

10
electrum

@ -315,10 +315,14 @@ if __name__ == '__main__':
if not seed:
sys.exit("Error: No seed")
wallet.seed = str(seed)
wallet.init_mpk( wallet.seed )
if not options.offline:
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:
interface = Interface(config)
interface.start()
wallet.interface = interface

Loading…
Cancel
Save