URI: 
       tsave mpk in hex - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 0b31c2dd1eba2718d934b43296e2cac0937e7236
   DIR parent b9eda1dd35f0487ab5e1263d194037e6357c3adc
  HTML Author: thomasv <thomasv@gitorious>
       Date:   Fri, 16 Dec 2011 19:01:07 +0100
       
       save mpk in hex
       
       Diffstat:
         M client/electrum.py                  |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/client/electrum.py b/client/electrum.py
       t@@ -228,7 +228,7 @@ class Wallet:
                self.port = 50000
                self.fee = 100000
                self.servers = ['ecdsa.org','electrum.novit.ro']  # list of default servers
       -        self.master_public_key = None
       +        self.master_public_key = ''
        
                # saved fields
                self.use_encryption = False
       t@@ -387,7 +387,7 @@ class Wallet:
                s = {
                    'seed_version':self.seed_version,
                    'use_encryption':self.use_encryption,
       -            'master_public_key': self.master_public_key,
       +            'master_public_key': self.master_public_key.encode('hex'),
                    'fee':self.fee,
                    'host':self.host,
                    'port':self.port,
       t@@ -415,7 +415,7 @@ class Wallet:
                try:
                    d = ast.literal_eval( data )
                    self.seed_version = d.get('seed_version')
       -            self.master_public_key = d.get('master_public_key')
       +            self.master_public_key = d.get('master_public_key').decode('hex')
                    self.use_encryption = d.get('use_encryption')
                    self.fee = int( d.get('fee') )
                    self.host = d.get('host')