git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c3676cc
)
mpk hex encoding
author
ThomasV
<thomasv@gitorious>
Thu, 15 May 2014 07:13:50 +0000 (09:13 +0200)
committer
ThomasV
<thomasv@gitorious>
Thu, 15 May 2014 07:13:50 +0000 (09:13 +0200)
lib/account.py
patch
|
blob
|
history
diff --git
a/lib/account.py
b/lib/account.py
index
66e6b73
..
7329ff5
100644
(file)
--- 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)