mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Fix synchronization of default key
This commit is contained in:
parent
9390431ce4
commit
e9f61c8787
3 changed files with 16 additions and 11 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue