commit 08a9de688ac5d85db341830257beed5de3868ea3
parent 346cc34091b923c92c3a6cd4bb7c4de2b0e4f498
Author: thomasv <thomasv@gitorious>
Date: Sat, 2 Mar 2013 13:45:30 +0100
fix: save master public key on wallet creation
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)