diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2011-07-05 17:42:44 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2011-07-05 17:42:44 +0200 |
commit | e9f61c8787af99c49678ba4bc182b24b8fdba0c4 (patch) | |
tree | d6ba403f7589fac5fa685998891f74b9bed19295 /src/ui.cpp | |
parent | 9390431ce49893cbdf23846edb4bdf72b3d4e830 (diff) | |
download | bitcoin-e9f61c8787af99c49678ba4bc182b24b8fdba0c4.tar.xz |
Fix synchronization of default key
Diffstat (limited to 'src/ui.cpp')
-rw-r--r-- | src/ui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.cpp b/src/ui.cpp index 2cbcfd5bd8..9b84fb9e6b 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -240,7 +240,7 @@ void SetDefaultReceivingAddress(const string& strAddress) return; if (!mapPubKeys.count(hash160)) return; - CWalletDB(pwalletMain->strWalletFile).WriteDefaultKey(mapPubKeys[hash160]); + pwalletMain->SetDefaultKey(mapPubKeys[hash160]); pframeMain->m_textCtrlAddress->SetValue(strAddress); } } |