account: init creation timestamp to 0

Never actually used uninitialized

Coverity 136615
This commit is contained in:
moneromooo-monero 2018-10-16 10:22:24 +00:00
parent 3212378912
commit 7cc39845be
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 0 deletions

View File

@ -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()