tmpk hex encoding - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit a21a175679ed288e23f308924a1ef55fb941b7a0 DIR parent c3676cc6e6eef26b9fcddf681fb6a6c5c8e9284e HTML Author: ThomasV <thomasv@gitorious> Date: Thu, 15 May 2014 09:13:50 +0200 mpk hex encoding Diffstat: M lib/account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/account.py b/lib/account.py t@@ -197,14 +197,14 @@ class OldAccount(Account): return None def get_master_pubkeys(self): - return [self.mpk] + return [self.mpk.encode('hex')] def get_type(self): return _('Old Electrum format') def get_keyID(self, sequence): a, b = sequence - return 'old(%s,%d,%d)'%(self.mpk,a,b) + return 'old(%s,%d,%d)'%(self.mpk.encode('hex'),a,b)