commit a21a175679ed288e23f308924a1ef55fb941b7a0
parent c3676cc6e6eef26b9fcddf681fb6a6c5c8e9284e
Author: ThomasV <thomasv@gitorious>
Date: Thu, 15 May 2014 09:13:50 +0200
mpk hex encoding
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/account.py b/lib/account.py
@@ -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)