mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
account: init creation timestamp to 0
Never actually used uninitialized Coverity 136615
This commit is contained in:
parent
3212378912
commit
7cc39845be
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue