diff options
| author | Pieter Wuille <[email protected]> | 2011-07-05 17:42:44 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2011-07-05 17:42:44 +0200 |
| commit | e9f61c8787af99c49678ba4bc182b24b8fdba0c4 (patch) | |
| tree | d6ba403f7589fac5fa685998891f74b9bed19295 /src/ui.cpp | |
| parent | Merge pull request #379 from gavinandresen/nocommas (diff) | |
| download | discoin-e9f61c8787af99c49678ba4bc182b24b8fdba0c4.tar.xz discoin-e9f61c8787af99c49678ba4bc182b24b8fdba0c4.zip | |
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 2cbcfd5bd..9b84fb9e6 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); } } |