git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
346cc34
)
fix: save master public key on wallet creation
author
thomasv
<thomasv@gitorious>
Sat, 2 Mar 2013 12:45:30 +0000 (13:45 +0100)
committer
thomasv
<thomasv@gitorious>
Sat, 2 Mar 2013 12:45:30 +0000 (13:45 +0100)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
1493668
..
c41e701
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-175,6
+175,8
@@
class Wallet:
self.accounts[0] = { 0:[], 1:[], 'name':'Main account' }
self.sequences[0] = sequence
self.config.set_key('accounts', self.accounts, True)
+ mpk = sequence.master_public_key
+ self.config.set_key('master_public_key', mpk, True)