mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
Fix synchronization of default key
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user