tfix: save master public key on wallet creation - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 08a9de688ac5d85db341830257beed5de3868ea3 DIR parent 346cc34091b923c92c3a6cd4bb7c4de2b0e4f498 HTML Author: thomasv <thomasv@gitorious> Date: Sat, 2 Mar 2013 13:45:30 +0100 fix: save master public key on wallet creation Diffstat: M lib/wallet.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -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)