mirror of
https://github.com/monero-project/monero.git
synced 2024-12-28 05:09:25 -05:00
account: init creation timestamp to 0
Never actually used uninitialized Coverity 136615
This commit is contained in:
parent
3212378912
commit
7cc39845be
@ -136,6 +136,7 @@ DISABLE_VS_WARNINGS(4244 4345)
|
|||||||
void account_base::set_null()
|
void account_base::set_null()
|
||||||
{
|
{
|
||||||
m_keys = account_keys();
|
m_keys = account_keys();
|
||||||
|
m_creation_timestamp = 0;
|
||||||
}
|
}
|
||||||
//-----------------------------------------------------------------
|
//-----------------------------------------------------------------
|
||||||
void account_base::forget_spend_key()
|
void account_base::forget_spend_key()
|
||||||
|
Loading…
Reference in New Issue
Block a user